There is someone here who can tell me how to achieve this? i couldn't find any good tutorial using the same keywords above.
Thanks.
Update: I just make it work by my self, terrible documentation and poor examples on the web btw.
There is someone here who can tell me how to achieve this? i couldn't find any good tutorial using the same keywords above.
Thanks.
Update: I just make it work by my self, terrible documentation and poor examples on the web btw.
For further actions, you may consider blocking this person and/or reporting abuse
Steve McDougall -
Dário Prazeres -
Sergio Peris -
Sospeter Mong'are -
Top comments (7)
v-data-table only shows 15 records and paginated only those and in the pagination.sync object appear that i have a totalItems of 73 records.
From laravel i'm doing Users::paginate(15) that retrieve the data.
Im using vuex because i need values from all my app.
That's happening because the v-data-table only paginates the given data that it receives if I recall correctly. Since you're only returning the 15 in data from Laravel, it'll only attempt to paginate those 15. The best solution is to use the v-pagination component and build out a custom pagination based on this stackoverflow.com/questions/526978....
owhho~ greate post
What was the solution that you found? Can you post it here for other people to find when they have the same issue?
This was the solution:
The php section on Laravel Controller
The Route ( Laravel )
On the store , the Action:
The Mutation :
In the main file app.js
Computed :
The Watch:
The html (v-data-table tag )
Awesome, thank you so much!
Great post!
How you know how to make the auto search work?