I have a question about using KTdatatable. I’m unable to refresh the data. I want to modify the content of the table in HTML and recreate the KTdatatable, but I cannot do so. The dispose function mentioned in the documentation does not work. There’s no destroy function either. How can I refresh the table on the screen?
Hi Leo Cha,
Sorry for the delay. Could you please use reload() function?
var tableElement = document.querySelector("#datatable");
var datatable = KTDatatable.getInstance(tableElement);
datatable.reload()