ColRecorder-1.1.1 width issue with moving columns
ColRecorder-1.1.1 width issue with moving columns
I recently switched datatables from 1.1.0 beta 3 to 1.1.0 stable and updated to ColReorder-1.1.1.
When I use the 'R' option with 'sDom' and drag a column, the table will redrawn with the rearranged columns.
However, columns increase in width and take up a approximately 90% of the page. If the user manages to rearrange any columns again the width of the large columns will double.
I'm using these options:
oTable = $('#dataTable').dataTable({
"sRowSelect": "single",
"sScrollX" : "100%",
"sScrollY" : "2000px", // Large number, I use JavaScript to change the height of the table
"sDom" : "RfrtiS",
"bStateSave" : true,
"bDeferRender" : true,
"bScrollCollapse" : true,
"bRetrieve": true,
});
I'm I doing something wrong or is this a new bug?
Answers
BTW I also did a fix I found at:
http://www.datatables.net/forums/discussion/20769/colreorder-state-saving-cannot-read-property-colreorder-iorigcol-of-undefined#Comment_60330