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

Uncaught TypeError: Cannot read property 'dt' of null when calling datatables.destroy #23

Open
prtome opened this issue May 25, 2016 · 4 comments

Comments

@prtome
Copy link

prtome commented May 25, 2016

Hello
when I destroy a datatable (myTable.destroy()) I get this error from colResize:
Uncaught TypeError: Cannot read property 'dt' of null ColResize._fnDestroy @dataTables.colResize.js:679

any ideas ?
thanks

@ghost
Copy link

ghost commented Jul 19, 2016

same problem here,no one is willing to help?

@CamilleLFL
Copy link

Same problem here, how to solve it?

@prtome
Copy link
Author

prtome commented Jul 19, 2017

it has been a long time. I solved the problem by calling myTable.colReorder.reset() before destroying the table. the table reorder is then lost

@ikunyemingor
Copy link

@prtome Many thanks it worked

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

3 participants