I am using Remote data source for KTDataTable.
I would like to show number of records above the table. The API return totalCount but I do not see any option to retrieve that from dataTable object.
I have tried in the fetched event but dataTable object is not showing total count value. Please advice.
It is metornic tailwind version 9.x
I have already referred the documentation available at https://keenthemes.com/metronic/tailwind/docs/components/datatable
Hi
You can use getState function to get the datatable state.
const dataTable = KTDataTable.getInstance(document.querySelector("[data-datatable]"));
dataTable.getState();
It is metronic Tailwind version 9.x