Hmm... Great support :D I figure it out by myself :|
Data filtering with pagination and Vue.js
Hello,
I am facing a challenge. I have a very simple app. I need to return results from the table in a list - table contains around 7 000 records. I need to paginate results displaying around 25 records a the time. That's all seems to be easy.
Now is a part a can't get my head round. I need to be able to filter through the table records all 7 000. Simple 2 way data binding and filtering with text input using vuejs. I can only filter the results I already returned on single page.
Could anyone point me in to the right direction how to update result while filtering (filtering through the all 7000 records) with included pagination?
I hope I explained clear enough what i mean :)
Short answer is you can't.
Longer answer: you get your pagimated collection, which includes URLs and meta data for pagination. That part should be simple enough.
Filtering your going to have to set up post request to a 'like' search query or use a third party service to cache your data. Either way you'll still have to fire off requests. unless you want to load a 7,000 in one shot.
Good luck and sorry no one asked how high when you said jump :)
Please or to participate in this conversation.