choose the start and length of a redraw
choose the start and length of a redraw
i am using infinite scrolling with server side processing and i want to redraw the table with the whole lot of data so that i can copy/export it with tabletools, something like
[code]
var s = oTable.fnSettings();
oTable.dataTableSettings._iDisplayStart = 0;
oTable.dataTableSettings._iDisplayLength = s.iRecordsTotal;
oTable.fnDraw();
[/code]
which obviously doesn't work because settings are not accessible this way
i would like to avoid touching the plugin itself, is there a way to alter settings externally?
[code]
var s = oTable.fnSettings();
oTable.dataTableSettings._iDisplayStart = 0;
oTable.dataTableSettings._iDisplayLength = s.iRecordsTotal;
oTable.fnDraw();
[/code]
which obviously doesn't work because settings are not accessible this way
i would like to avoid touching the plugin itself, is there a way to alter settings externally?
This discussion has been closed.