DataTable({bRetrieve:true}).destroy() no longer work with dt-1.10.12 & updated extensions
DataTable({bRetrieve:true}).destroy() no longer work with dt-1.10.12 & updated extensions
GeH
Posts: 6Questions: 2Answers: 0
I'm
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I'm using this code to create and re-create a datatable :
It was working nicely with previous datatables version & jquery 2.2.3 :
With the last release & jquery 2.2.3 :
this code throws an error when the datatable already exists, and the datatable's bindings aren't fully destroyed.
I cannot provide easily a test case, if anyone as a tip or a similar problem it may helps.
Stack trace :
Its a bug in Buttons I'm sorry to say. I've misplaced the other thread on this topic, but will find it and post back here and there when I've committed the fix and will publish an updated package (probably later today) with the fix.
Allan
I've just committed the fix and the nightly version now has the change in it. Could you try it and let me know how it goes for you (it should be plain sailing!).
When confirmed I'll release 1.2.1 with just that change.
Thanks,
Allan
I confirm that the nightly version is working for me.
No other flaw detected.
Thanks,
Gérald
Released now and available in the download builder and NPM.
Thanks for the feedback on this issue!
Allan