Uncaught TypeError: Cannot read properties of undefined (reading 'node')
Uncaught TypeError: Cannot read properties of undefined (reading 'node')
zaeem6100
Posts: 3Questions: 1Answers: 1
**Facing this error **
ncaught TypeError: Cannot read properties of undefined (reading 'node')
at m.destroy (datatables.min.js?v=2.95:269:483)
at HTMLTableElement.<anonymous> (datatables.min.js?v=2.95:272:201)
at HTMLTableElement.dispatch (jquery-1.12.4.js:5226:27)
at elemData.handle (jquery-1.12.4.js:4878:28)
at Object.trigger (jquery-1.12.4.js:5130:12)
at HTMLTableElement.<anonymous> (jquery-1.12.4.js:5860:17)
at Function.each (jquery-1.12.4.js:370:19)
at jQuery.fn.init.each (jquery-1.12.4.js:137:17)
at jQuery.fn.init.trigger (jquery-1.12.4.js:5859:15)
at u (datatables.min.js?v=2.95:127:431)
when using
jQuery('#boothstaffTable').DataTable().destroy();
I want to re-initialize the data table with new header values using server-side processing .
This question has an accepted answers - jump to answer
Answers
See if the second example in the
destroy()
docs helps.Kevin
Same error as before
Please provide a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Problem Solved this error was due to the Buttons included in the Datatable. After removing the button it worked properly