Replies: 2 comments
-
hi @mjchang, did you find a non-hacky solution? Shall we open an issue to propose this as a new feature? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any update for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to enable sorting on the select column and it mostly works. When I manually toggle the column sort, the sorting works, but the sorting does not on initial render. This is because the row.isSelected is not populated until after useRowSelect runs.
Right now I'm thinking of using some useEffect to retrigger sort but this seems hacky and I have yet to come up with something that works. Anyone have any suggestions?
Codesandbox: https://codesandbox.io/s/competent-ellis-febbl?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions