Skip to content

Stacktrace using colReorder with destroy() - fix is in upstream #38

@ShaheedHaque

Description

@ShaheedHaque

When using this project with DataTables.destroy(), I get an error like this:

Uncaught TypeError: Cannot read properties of null (reading 'dt')
    at ColReorder._fnStateSave (ColReorderWithResize.js:903:32)
    at ce.fn.init.<anonymous> (ColReorderWithResize.js:773:31)
    at jquery.dataTables.min.js:4:47589
    at Function.map (jquery.min.js:2:3971)
    at R (jquery.dataTables.min.js:4:47536)
    at de (jquery.dataTables.min.js:4:45096)
    at B.<anonymous> (jquery.dataTables.min.js:4:63849)
    at B.iterator (jquery.dataTables.min.js:4:52119)
    at B.<anonymous> (jquery.dataTables.min.js:4:63713)
    at B.visible (jquery.dataTables.min.js:4:53602)

This was also reported upstream and upstream has a fix in this commit. Please apply!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions