Replies: 3 comments
-
just add disableSortRemove: true to useTable(), |
Beta Was this translation helpful? Give feedback.
-
For anyone coming to this React Table sorting question later, here's a bit more specificity. If you use So that you dont have to click the sort button twice to see sorting, do this!!
Here we've added 3 things rather than just the one Not certain you need the second one ( |
Beta Was this translation helpful? Give feedback.
-
ver8 this has changed to : enableSortingRemoval
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using
useSortBy
hook, each column will have 3 sort state: asc, desc, reset. How do I skip the 'reset' state and default to initially either asc or desc? I can't find anything in the docs that mention this or any relevant API.Beta Was this translation helpful? Give feedback.
All reactions