DataTables Clear Tabelle

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

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