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....
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