If you try to set properties of Jquery datatable 2 times as below, it will give an error:
table = $(‘#product-data-table’).DataTable({stateSave: true}) ;
table = $(‘#product-data-table’).DataTable
({“aoColumns”:
[
{
“bSortable”: false },null,null,null
]
});
“DataTables warning: table id=product-data-table – Cannot reinitialise DataTable”.
DataTables does not allow Read more…