Skip to content

Can you retain/enforce an initial sorting rule in one column regardless of the sort order in another for a grouped table? #3066

Answered by RyanPayso13
RyanPayso13 asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to do this by using:

https://react-table.tanstack.com/docs/faq#how-can-i-manually-control-the-table-state

useControlledState and merging the sort order for Risk Grouping with any other manual sorting.

:)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RyanPayso13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant