ColReorder 1.1.1 is not working with latest DataTable 1.10.1-dev
ColReorder 1.1.1 is not working with latest DataTable 1.10.1-dev
hubo
Posts: 45Questions: 14Answers: 0
You have fixed https://datatables.net/forums/discussion/22157/wrong-condition-in-while-loop#latest so I get latest dev version and find out that it is not working with ColReorder 1.1.1.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Seems to work for me. Can you link to a test case please.
Allan
I use this file as latest https://github.com/DataTables/DataTables/blob/master/media/js/jquery.dataTables.js with latest stable versions of ColVis 1.1.0 and ColReorder 1.1.1.
I had to set stateSave: true to get the error "oState.aaSorting is undefined" at line 737 in ColReorder.js.
/* Sorting */
for ( i=0 ; i<oState.aaSorting.length ; i++ )
{
oState.aaSorting[i][0] = oSettings.aoColumns[ oState.aaSorting[i][0] ]._ColReorder_iOrigCol;
}
I've just committed a change to ColReorder to fix this. Could you try the latest ColReorder please: https://github.com/DataTables/ColReorder/blob/master/js/dataTables.colReorder.js ?
Allan
It seems to work fine now. Thanks.