Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatables clear table

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

table.clear().draw(); // make sure to call draw() to see the table empty
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #datatables #clear #table
ADD COMMENT
Topic
Name
7+2 =