Closed alfonsobries closed 6 years ago
I don't think that can be done in ES6 at the moment. I also do not plan to do anything more on this repo as I've already shifted to Vuetable-2. Unless someone will submit PR for new feature, no new feature will get added.
Im sorry im thinking about the vuetable-2, i made a mistake when google the package, but as i see in vuetable-2 you use axios, so its possible to cancel the request: https://github.com/mzabriskie/axios#cancellation
I will try to do do a pull request with this feature, thanks
Sometimes when you have a custom filter (let say a search form) maybe you want some kind of google like live refresh while the user type the search, in this cases when i refresh the data it make multiple request to server,
Im thinkin in a (maybe) cancel method to cancel the current request when the params change and you want to update the ajax request.