ColVis is producing error in DataTables core (1.9.4) with ColReorder
ColVis is producing error in DataTables core (1.9.4) with ColReorder

If I am reordering the columns, refresh the page (bStateSave = true), click on ColVis "Show/Hide columns" popup, select a column to hide or show, then I get follwing error:
TypeError: aoLocal[i][j] is undefined
nLocalTr.appendChild( aoLocal[i][j].cell ); in jquery.datatables.js; Line 1349
Is there any workaround, I can do?
TypeError: aoLocal[i][j] is undefined
nLocalTr.appendChild( aoLocal[i][j].cell ); in jquery.datatables.js; Line 1349
Is there any workaround, I can do?
This discussion has been closed.
Replies
If I change the if statement to:
[code]if ( aApplied[i][j] === undefined && aoLocal[i][j] !== undefined )[/code]
it seems that everything is working smoothly again, even with this setup of a header row with a colspan > 1