Colreorder and FixedColumns - FixedColumns blanks-out if column dragged into it

Colreorder and FixedColumns - FixedColumns blanks-out if column dragged into it

BigBadBurrowBigBadBurrow Posts: 6Questions: 0Answers: 0
edited October 2011 in Bug reports
If you have fixed columns and column re-ordering configured on a table, and you drag a column into the fixed columns it blanks out the fixed columns. Or, if you attempt to re-order the fixed columns it blanks it out too.

My setup:

[code]var oTable = $('#example').dataTable({
"sDom": 'Rlfrtip',
"sScrollX": "100%",
"sScrollY": "300",
"sScrollXInner": "150%",
"bScrollCollapse": true,
"bStateSave": true,
"bPaginate": false
} );

new FixedColumns( oTable, {
"iLeftColumns": 2,
"iLeftWidth": 350
});[/code]

Replies

  • BigBadBurrowBigBadBurrow Posts: 6Questions: 0Answers: 0
    Just discovered the fix; add this to the constructor parameters:

    "oColReorder": {"iFixedColumns": 1}

    This stops re-ordered columns being dropped into the fixed columns.

    You can close this one down.
This discussion has been closed.