Col Reorder _fnStateSave overwrites changes made by fnStateSaveCallback
Col Reorder _fnStateSave overwrites changes made by fnStateSaveCallback
So I added a few params to sValue in fnStateSaveCallback inside my Datatable definition.
This callback runs as a result of the the following pieces of code in datatables library
[code]
if ( typeof oInit.fnStateSaveCallback == 'function' )
{
oSettings.aoStateSave.push( {
"fn": oInit.fnStateSaveCallback,
"sName": "user"
} );
}
[/code]
[code]
for ( i=0, iLen=oSettings.aoStateSave.length ; i
This callback runs as a result of the the following pieces of code in datatables library
[code]
if ( typeof oInit.fnStateSaveCallback == 'function' )
{
oSettings.aoStateSave.push( {
"fn": oInit.fnStateSaveCallback,
"sName": "user"
} );
}
[/code]
[code]
for ( i=0, iLen=oSettings.aoStateSave.length ; i
This discussion has been closed.
Replies
No work arounds at the moment I'm afraid - sorry. Basically this is a limitation in how state saving is done in DataTables at the moment. This is also the only thing holding back the 1.9.0 release at this time. I hope to make the state saving a lot more flexible in 1.9 (objects rather than horrible strings) and that would then allow me to update ColReorder to take this into account and all plug-ins would benefit.
However its just a case of getting the time to do it! Hopefully soon :-)
Allan