Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShaheedHaque opened this issue Nov 24, 2023 · 0 comments
Open

Comments

@ShaheedHaque
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant