I need to call fnReorderCallback without reordering the table while outside (after) the dataTable() option configuration and initializaion.
Example:
I config and init table here...
var oTable = $(selector).dataTable({
'sDom': 'Rfrtlip',
'oColReorder': {
'iFixedColumns': 2,
'iFixedColumnsRight': 1,
'fnReorderCallback': function(){
var variableX = this.fnOrder();
/* Some set of instructions here */
}
}, ... });
then I want to call fnReorderCallback somewhere after this snippet or at least, to be able to access variableX.
Is this possible in any way?
Thanks in advance.
Best,
H.