GerkinDev/vuejs-datatable

How to programatically call table's getData function to reload table

sobiero opened this issue · 1 comments

I have an Ajax table that I need to update programmatically when a select box is changed. How do I achieve this? As seen on the screen-shot below, I'm trying to call the tables onGetData function from the select box but cannot be able to pass the table's 'context'. Does this plugin have a 'reload table' event?

image

The source of the table's data depends on the option chosen on the select box
image

#43 solves this issue.
this.$refs.vueDatatable.processRows();
I'm giving myself a thumbs down for not reading through other issues :-)