-
Hi guys. I'm using Is there a way to achieve the results I want? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
We would also find only a two state sorting useful, anyone know how to achieve this? |
Beta Was this translation helpful? Give feedback.
-
I believe you're looking for the const {
// ...
} = useTable({
columns,
data,
disableSortRemove: true
}, useSortBy); |
Beta Was this translation helpful? Give feedback.
-
@tadger , thanks for the quick response, missed it in the docs. Works as advertised 👍 |
Beta Was this translation helpful? Give feedback.
I believe you're looking for the
disableSortRemove
option (passed touseTable
) documented here, eg: