You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's common to have tri-states in table design: unset, ascending, descending.
Is your feature request related to a problem? Please describe.
The current pivot table allows users to toggle between ascending and descending sort orders by clicking on a column header. However, clicking a different column header resets the sort order of the previously sorted column. We should allow users to unset a column on the third successive click.
CleanShot.2024-08-09.at.12.55.40.mp4
Describe the solution you'd like
Allows users to easily toggle between ascending, descending, and unset states by simply clicking on the column header.
I think unsetting a column sort would be a helpful feature and I don't know of any reasons why we don't offer this already. Let's move forward with this, thanks!
It's common to have tri-states in table design: unset, ascending, descending.
Is your feature request related to a problem? Please describe.
The current pivot table allows users to toggle between ascending and descending sort orders by clicking on a column header. However, clicking a different column header resets the sort order of the previously sorted column. We should allow users to unset a column on the third successive click.
CleanShot.2024-08-09.at.12.55.40.mp4
Describe the solution you'd like
Allows users to easily toggle between ascending, descending, and unset states by simply clicking on the column header.
Additional context
Check the sorting example from Tanstack: https://tanstack.com/table/latest/docs/framework/svelte/examples/sorting
Code reference
Search for
enableSortingRemoval
in the codebase.The text was updated successfully, but these errors were encountered: