PrimeReact DataTable alternative server-side pagination
Posted: 26 May 2021, 20:52
Hi there! I have this very large data to fetch in my app and for that i have an API that provides me the number of pages i`ll get deppending on the number of rows i whant to show per page. So i can fetch only de first page, for example, and then make new requests on each page number i click!
I`m aware of the Lazyloading provided by this component but my problem is to fetch all the data, store it at state and then, filter it before render.
Is there a way to make the datatable paginator shows the number of pages links my API returns?
Thank you vary much, best regards!
Fábio
I`m aware of the Lazyloading provided by this component but my problem is to fetch all the data, store it at state and then, filter it before render.
Is there a way to make the datatable paginator shows the number of pages links my API returns?
Thank you vary much, best regards!
Fábio