Bugreport: Unable to destroy() DataTable
Bugreport: Unable to destroy() DataTable
Taloncor
Posts: 6Questions: 4Answers: 0
I recently encountered a bug with DataTables while trying to destroy() my table. Upon calling .destroy() I was greeted with the following error:
TypeError: i[n] is undefined
...ad")[0]);for(n=0;n<e.length;n++)k=c[e[n]],i[n].style.width=null!==k.sWidthOrig&
After some fiddling (scnr) I found that tables with invisible columns columns.visible
cannot be destroyed.
Is there any way to circumvent this problem?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The number of HTML <th> columns have to match the DataTables' columns[] definition. In your case,
Thank you very much! :)