DataTables Clean Table

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

table.clear().draw(); // make sure to call draw() to see the table empty
Chris PA