please let me know how to use code to cancel, clear all of checkbox on DataTable. not show in KTUI guide.
Thank you
Explained very well, thanks for the guide. I recently looked into kitchen remodel Tacoma WA and found it to be a great resource. Choosing the right professionals makes a big difference in achieving high-quality renovation results.
Hi Xin Yu
After the table is initialised, get the instance and call uncheck():
const tableEl = document.querySelector("#your_datatable");
const datatable = KTDataTable.getInstance(tableEl);
if (datatable) {
datatable.uncheck();
} const datatable = new KTDataTable(tableEl, {
checkbox: { preserveSelection: false },
// ...your other options
});
// later, to clear all:
datatable.uncheck();