Help Needed: Encountering Challenges while doing Pagination. #938
-
I'm encountering a challenge with pagination in Material-UI React Table. My API sends four variables to the next page: next page, previous page, row count, and data. The pagination works fine when I test it through the API, but when using Material-UI React Table, the rows don't seem to change when I click the next page button. The default page size is set to 10, and I have a total of 100 records. To enhance efficiency and speed, I want to send only the required records at a time. Can you help me understand how to make the rows update dynamically when I navigate to the next page in Material-UI React Table? Fetch response
Below is my code
Anyone with ideas on how to move forward ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I can help, but you're making a bunch of mistakes where it is clear that you have not looked that hard at the docs. It sounds like you want manual pagination, but have not included any of those table options at all in your code here |
Beta Was this translation helpful? Give feedback.
I can help, but you're making a bunch of mistakes where it is clear that you have not looked that hard at the docs. It sounds like you want manual pagination, but have not included any of those table options at all in your code here
https://www.material-react-table.com/docs/examples/react-query