i create spa application with combined Knockout + CrossroadsJS + RequireJS.
This question has accepted answers - jump to:
There isn't a direct integration for DataTables with any of those libraries, but basically you would just initialise DataTables whenever you need it and use destroy() to clean up when removing the table.
Any way to clear out the array returned by $.fn.dataTable.tables() in addition to destroying it?
I'm running into an issue where save state won't work because its adding +1 to the table name on page nav (DataTable_Table_0, DataTable_Table_1, etc).
Assign your own id to the table. DataTables will always use a unique id for the table being created. It has an internal counter that is simply incremented every time a table without an id is created.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.