Move or duplicate pagination to the top slot #11617
Replies: 2 comments 2 replies
-
|
i tried it in the past but on qv1, https://codepen.io/metalsadman/pen/WNRapWe, |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, I created a custom TablePagination.vue component (see the following Gist) that imports a lot of the quasar src code. The only caveat is you will be responsible for adding it to the #top slot... I dont think it would be too difficult to add a clause to render the pagination element at top/bottom (default)/both in their QTable code depending on the passed props. To make it simple, I would add a new prop called "paginationPlacement" with the default as "bottom" and the options as top | bottom | both |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I use
QTablecomponent with server side pagination. How can I move or duplicate pagination to thetop-rightslot without rewriting all pagination.Perfectly I want to use
paginationslot above and below table.In Quasar 1.*
TablePaginationwas a separate component. But in versions 2.* pagination fixed inQTablecomponent.I use: Vue 3, Quasar 2.3.4
Beta Was this translation helpful? Give feedback.
All reactions