How to redraw Datatable in VueJS
How to redraw Datatable in VueJS
mito
Posts: 1Questions: 1Answers: 0
I'm using Datatables in Laravel with VueJS frontend. I have a dynamic router '/admin/category/:slug' that i want to axios data and redraw datatable with new data when slug changes. How could i do that? Sr for my bad English
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I'm not sure how to know when the data changes but if you are using the
ajax
option you could useajax.reload()
to fetch the new data.Kevin