Colreorder does not work when data is add using dataTable.rows.add(data);
Colreorder does not work when data is add using dataTable.rows.add(data);
RSiebeling
Posts: 10Questions: 0Answers: 0
Hi,
Colreorder doesn't work when data is added using dataTable.rows.add(data);
When the data is added in HTML colreorder works fine.
I've created an example where this is happening (the Colreorder plugin doesn't work in my browser in JSBin, but it works on my own server).
http://live.datatables.net/voy/1/edit
When the columns are dragged to a new place, the data from the first rows (which were added in the HTML string) are dragged as they should be, but the data that has been added using the rows.add function aren't moving.
This seems to be a bug...
Could you please help?
thanks in advance,
Richard
Colreorder doesn't work when data is added using dataTable.rows.add(data);
When the data is added in HTML colreorder works fine.
I've created an example where this is happening (the Colreorder plugin doesn't work in my browser in JSBin, but it works on my own server).
http://live.datatables.net/voy/1/edit
When the columns are dragged to a new place, the data from the first rows (which were added in the HTML string) are dragged as they should be, but the data that has been added using the rows.add function aren't moving.
This seems to be a bug...
Could you please help?
thanks in advance,
Richard
This discussion has been closed.
Replies
This is my slightly update to your script for initial testing: http://live.datatables.net/voy/3/edit .
Allan
Richard
do you have any clue what's happening here?
thanks,
Richard
Allan
Thanks,
Allan
it works like a charm, thanks,
Richard
Allan