Goto the last page wiht fnPageChange DONT WORK

Goto the last page wiht fnPageChange DONT WORK

estudiosmediaestudiosmedia Posts: 1Questions: 1Answers: 0
edited October 2016 in Free community support

I have the problem when load de page, in my javascript, i use that:

var dataTable = $('#cuenta_corriente').dataTable();
dataTable.fnPageChange('last', false);

but return a error:

DataTables warning (table id = 'cuenta_corriente'): Cannot reinitialise DataTable.
To retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy

Answers

  • allanallan Posts: 61,438Questions: 1Answers: 10,052 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    Thanks,
    Allan

This discussion has been closed.