ColReorder error after replacing table with 'destroy' option
ColReorder error after replacing table with 'destroy' option
capricode
Posts: 1Questions: 1Answers: 0
Hi,
I'm trying to replace an existing table by passing an destroy
option but it seems that ColReorder does not reinitialize its settings object that was set to null on destroy
How to reproduce:
- Open http://live.datatables.net/seyonoje/1/edit
- Click the 'Show column' button
- Try to drag the 'bar' column with mouse.
JavaScript console (in Chrome) will show the following error and the column is not dragged:
Uncaught TypeError: Cannot read property 'mouse' of null
The exception is caused by this line
This discussion has been closed.