react-final-table
react-final-table copied to clipboard
Manual Pagination and Async Loading Data
Hi, Can I use this library for manual pagination with async data ?
Can you elaborate what you mean? There is pagination already.
Yes.. But the pagination lacks of async loading data based on server side pagination. I think it will be perfect if we have 1 million documents and we can limit the fetch for 25 documents. And if we click next page, the library will fetch the next 25 documents..
https://react-table.tanstack.com/docs/api/usePagination#table-options
- manualPagination: Bool
- Enables pagination functionality, but does not automatically perform row pagination.
- Turn this on if you wish to implement your own pagination outside of the table (eg. server-side pagination or any other manual pagination technique)