You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a usecase where I need to build a totally custom pagination component, and it seems like it'd be very useful to hook into the existing pagination of the VDataTable I'm making this pagination for. But this hook doesn't seem to be exported.
What is the reasoning behind not exporting useful hooks, such as this one?
Was this a deliberate decision in the first place, or was it just forgotten to be exported?
What is the recommended way to create custom pagination, without having access to this super useful hook?
And I need to create something like it, but not exactly it. The customisations for the VDataTableFooter do not cover the usecase, and adding props to cover my (and every other) usecase would be far more difficult for the Vuetify devs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Seems like a useful hook.
I have a usecase where I need to build a totally custom pagination component, and it seems like it'd be very useful to hook into the existing pagination of the VDataTable I'm making this pagination for. But this hook doesn't seem to be exported.
For reference, it's used like this:
https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/components/VDataTable/VDataTableFooter.tsx
And I need to create something like it, but not exactly it. The customisations for the VDataTableFooter do not cover the usecase, and adding props to cover my (and every other) usecase would be far more difficult for the Vuetify devs.
Beta Was this translation helpful? Give feedback.
All reactions