Need help changing page on v-data-table-server from "code" when page route changes #19458
Unanswered
bzuidgeest
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a app that displays data from the server. The route contains the name of a filter to apply to the data. When the route changes I need to return the table to page 1 as the new selections might not have page X.
I have bound
:items-per-page="itemsPerPage"
:page="page"
on the table I can use itemsPerPage to set the initial number of items, but if I change it using the dropdown the new value is not communicated back to the reference. Trying to start at any other page then page 1 using :page also fails completely.
As I am new to vue and vuetify I am no doubt doing something wrong. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions