Answers for "reset datatable in close"

0

remove previous datatable instance

//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();
Posted by: Guest on November-11-2020
2

datatables clear table

const table = $("#yourTable").DataTable();

table.clear().draw(); // make sure to call draw() to see the table empty
Posted by: Guest on November-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language