datatables clear table
const table = $("#yourTable").DataTable();
table.clear().draw(); // make sure to call draw() to see the table empty
Are there any code examples left?
New code examples in category Javascript
const table = $("#yourTable").DataTable();
table.clear().draw(); // make sure to call draw() to see the table empty