1👍
Sorry I post this as answer instead of comment, but my reputation is to low to post comments.
In jsfiddle you can use the fake ajax requests to emulate your call to your php backend.
Also is there a specific reason you are using jQuery DataTables? There is a very nice vue component which does the same (default with bootstrap styling, but you can style it as you like) https://github.com/matfish2/vue-tables
👤Sven
1👍
If you are loading the data via ajax, make your table ajax loaded. You will need to re-work the structure of your json response. Also see this.
From there, you can can call table.draw(); to reload it.
- [Vuejs]-How to send the index of a for loop into the promise of a function in a Vue Resource call?
- [Vuejs]-Vuejs ajax call order: can I create new list item in vuex before ajax?
Source:stackexchange.com