Trigger fnReorderCallback without reordering the table.

Trigger fnReorderCallback without reordering the table.

henserhenser Posts: 1Questions: 1Answers: 0
edited October 2014 in Free community support

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.

This discussion has been closed.