Jquery | DataTables warning: table id – Cannot reinitialise DataTable

| By Webner

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