hootlex/vuejs-paginator

How to refresh manually

Closed this issue · 6 comments

Hey, is it possible to refresh the data source manually?

You mean to manually change the current page?

No, I mean how to invoke the fetchData() methode manually.
Whenever I change the url, the paginator reloads the data. This is fine but I also need a way to manually reload the data, because they changed on the server side.

Currently, this is not possible.
However, I will update the plugin to be compatible with Vue 2 soon. I will add this feature then too.

V2 is out. Check this. :)

Thank you very much!

@nicozimmermann94 did you get to implemented it? could you provide an example? I would like to use static/raw data instead of consuming an api, but I couldn't understand the docs about how to fetch data manually.