TanStackT
TanStack•13mo ago•
2 replies
spotty-amber

Please help with server side pagination useVueTable parameters (shadcn-vue)

I have a fairly simple table, although my problem is that I have millions of rows which I cannot load all at once. I have been searching this for hours but everything that I see is for React and I couldn't come across anyone who has done server side pagination in Vue/Nuxt version. :grrrr:

First of all, rowCount, does not exist in TableOptions, second of all, even though I provide pageSize & pageIndex accordingly based on my data, the row count display at the bottom is always 10 (0 of 10 row(s) selected.) 😢

Dependencies are as follows:
"shadcn-nuxt": "0.8.7",
"@tanstack/vue-table": "8.11.8"
Was this page helpful?