Change datatable settings on the fly. (such as sScrollY and bPaginate)
Change datatable settings on the fly. (such as sScrollY and bPaginate)

Hey. I'm trying to change some of these parameters after the datatable has been drawn. I'm not sure how to do this. I've tried this.
[code] oTable = $("#my-table").dataTable(oST);
var oSettings = oTable.fnSettings();
oSettings.sScrollY = "300px";
oSettings.bPaginate = false;
oTable.fnDraw();
[/code]
Doesn't seem to work. Thanks for any help.
[code] oTable = $("#my-table").dataTable(oST);
var oSettings = oTable.fnSettings();
oSettings.sScrollY = "300px";
oSettings.bPaginate = false;
oTable.fnDraw();
[/code]
Doesn't seem to work. Thanks for any help.
This discussion has been closed.