var datatable = $("#datatable").DataTable();//get dt datatable.destroy(); //destroy old instance datatable = $("#datatable").DataTable({ "scrollY": "150px", "paging": false }); // here is throwing the error: "Warning: Cannot reinitialise DataTable"
datatable = $("#datatable").DataTable({ "destroy": true, "scrollY": "150px", "paging": false });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)