table claire dataTables
const table = $("#yourTable").DataTable();
table.clear().draw(); // make sure to call draw() to see the table empty
Chris PA
const table = $("#yourTable").DataTable();
table.clear().draw(); // make sure to call draw() to see the table empty