q-pagination not work with server side q-table
See original GitHub issueDescribe the bug When using q-pagination with a q-table that get data from server, pagination changes not send request to method specified for @request of q-table. I see examples of separate q-pagination in documentation and produce an CodePen so you can see example not work.
Codepen https://codepen.io/husseinjahan/pen/yLzeNdz
To Reproduce Steps to reproduce the behavior:
- Go to CodePen example
- Under the q-table change pagination
- Nothing happens
Expected behavior Inline pagination in table works properly but q-pagination changes dows not affect to q-table. I think after changing page in q-pagination a request must send to server (@request method)
Platform (please complete the following information): Quasar Version: 2.3.3 @quasar/app Version: 3.2.4
Quasar mode:
- SPA
- SSR
- PWA
- Electron
- Cordova
- Capacitor
- BEX
- Vite Plugin
Additonal Info:
- Typescript
- SFC usage with
<script setup>
- Vuex
- Prettier (eslint)
- Standard (eslint)
Tested on:
- SPA
- SSR
- PWA
- Electron
- Cordova
- Capacitor
- BEX
OS: Node: 14.18.2 NPM: 6.14.15 Yarn: 1.22.4 Browsers: chrome, edge iOS: Android: Electron:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8
Top GitHub Comments
In the case of server side data with external pagination you need to call
requestServerInteraction
https://codepen.io/pdanpdan/pen/PoJRdMz?editors=1010It is in the methods list in QTable API docs