Page 1 of 1

Data Table - Jump to Page

Posted: 07 Aug 2020, 20:37
by alarinn
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

Re: Data Table - Jump to Page

Posted: 10 Oct 2020, 23:29
by mert.sincan
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,