Answers for "if datatable has data clear it and add new"

2

datatables clear table

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

table.clear().draw(); // make sure to call draw() to see the table empty
Posted by: Guest on November-06-2020
0

datatables remove showing 1 of 1 entries

"info": false,
"paging": false,
Posted by: Guest on August-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language