Hello,
i need to know how i can get the data from laravel api with server side pagination
im using KTDataTable vue typescript
Hi,
Sorry for the delay in reply.
In our Vue version, we have a custom component KTDatatable, you can use it to display data from your API. 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, alternatively, you can consider using vue3 datatable.net, which doesn't require jQuery.
https://datatables.net/blog/2022-06-22-vue
Regards,
Lauris Stepanovs,
Keenthemes Support Team