Data Table - Jump to Page

UI Components for React
Post Reply
alarinn
Posts: 37
Joined: 15 May 2012, 22:27

07 Aug 2020, 20:37

Hello,

Is there a way to add a way to allow a user to jump to a page in a Data Table? And if there is, will it work with lazy loading (server-side pagination)? I have one large Data Table with 15,000 records and having to go to page 150 of 300 is not going to work using just the arrow buttons. I didn't see anything in the docs.

Thanks,
Patrick

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

10 Oct 2020, 23:29

Hi,

Sorry for the delayed response! Yes, you can use first property with onPage event on DataTable. Similar to https://www.primefaces.org/primereact/s ... /paginator
You can use it in the same way with lazy loading.

Also, please see 'Paginator' section in the documentation at https://www.primefaces.org/primereact/s ... /datatable

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests