Pagination totalPages prop is missing #133
Replies: 1 comment 4 replies
-
Please read the docs at https://icflorescu.github.io/mantine-datatable/examples/pagination |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
When I make a request to the server, I get back the total number of pages, so I can make another request when the client click the number 2, 3, 4 etc. page.
I don't request all the records the first request. So I need a totalPages prop to set the pagination numbers.
The mantine native Pagination component has a total prop achieve this behavior. I don't see this in this lib.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions