Hello,
Is there a way to give to the datatable an array of data?
Also is there a way to attach to sort/pagination events before they are executed?
I am trying to use the datatable from here: https://keenthemes.com/metronic/tailwind/docs/components/datatable
angular v18.2.11
metronic v9.1.2
Thanks
Hi
Currently, there is no function to insert data array into datatable manually.
You can create a plain table HTML, and then the KTDatatable plugin will extract the table data.
Thanks
Hi Dan R,
You can check out this documentation for information on pagination and sorting events
https://keenthemes.com/metronic/tailwind/docs/components/datatable#events
Thanks
Hi
Is it possible to pass datatable data directly to the component instead of giving it the api url? I could not find a way to do it through the api