DataTable with server side pagination

UI Components for Vue
Post Reply
AJackson19
Posts: 10
Joined: 31 Aug 2021, 15:00

31 Aug 2021, 15:27

Hello PrimeVue team, we bought serenity theme from primetek last week for a project, and we have to say that PrimeVue is really good out of the box. We have a question about your DataTable component.
Is there a way to control/set pagination default start page with lazy loading? Because pagination is backend provided in our case and we need the DataTable to work with it. The issue is when we click 1 from the paginator the DataTable sets page number to 0, resulting first(1) and second(2) pages with same dataset. But we really need is if we click 1 on paginator page property should be 1 not 0(zero). How can we achieve that?

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

16 Nov 2021, 16:09

Hello,

Index problem solved with this issue

Code: Select all

https://github.com/primefaces/primevue/issues/1602
But in lazy loading user could set the first visible row. For now it looks like a bug. Please follow this ticket https://github.com/primefaces/primevue/issues/1766.

And please feel free to create a new ticket, if you're thinking there is a bug.

Regards,

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests