Hi Team,
How to Update KTDataTables data by fetching it from API.
I am facing updating data in KT data Table fetching from API in vue version of metronic 8.
Thanks in advance.
Hi,
Unfortunately, at the moment we do not have an example with real API, our current examples work with static data.
In our component, we have events to trigger main datatable actions, you can use these events to make requests to your API and update your data.
For more info about our component check out our docs.
https://preview.keenthemes.com/metronic8/vue/docs/#/kt-datatables
Also, as an alternative to our KTDataTables component, you can consider using vue3 datatable.net solution.
https://datatables.net/blog/2022-06-22-vue
Regards,
Lauris Stepanovs,
Keenthemes Support Team