Server side pagination with column sorting #2078
Unanswered
geetanshu-wi
asked this question in
General
Replies: 3 comments 5 replies
-
I've been trying to figure this out as well. Adding |
Beta Was this translation helpful? Give feedback.
0 replies
-
Use
in useTable arguments. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, I'm trying to figure out pagination with sorting as well. I've added How could I handle sorting of all items instead? |
Beta Was this translation helpful? Give feedback.
5 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.
-
I am implement a table component containing server side pagination enabled and I need sorting on the columns as well.
But I am observing the strange behaviors -> when I am using only pagination and click on next page pageIndex is getting increment. When I am adding sorting hooks then pagination in not working fine. The pageIndex is getting back to 1 automatically and I am not able to figure it why.
You can find code at
https://codesandbox.io/s/eager-breeze-9cw0r
Beta Was this translation helpful? Give feedback.
All reactions