Sort 3rd click return to default #2384
Unanswered
vivianshub
asked this question in
General
Replies: 1 comment
-
@vivianshub I'm looking to do the same, did you ever figure it out? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a React Table with sorting enabled. When I click on a header once, it sorts ascending; i click the header a second time, it sorts descending. When I click a third time, it sorts ascending. However, I want the third click to return to the defaultSorted. How would I go about doing this? I'm currently using react-table v6. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions