Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a default option to sorting table columns #300

Closed
richcoleman-alphatrust opened this issue Jun 16, 2023 · 0 comments
Closed

Add a default option to sorting table columns #300

richcoleman-alphatrust opened this issue Jun 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@richcoleman-alphatrust
Copy link

Is your feature request related to a problem? Please describe.

A lot of tables offer three states for table column sorting. Ascending, Descending, and the unsorted default (not sorted either way - however the table was originally sorted). Many times, users click the sort and then want to "undo" the sorting and the only way to do is to know how the table was originally sorted or to completely refresh the page.

Describe the solution you'd like

Add a third toggle option: asc, desc, and default
Click once would sort ascending, click twice would sort descending, and click thrice and it would unsort that column.

Describe alternatives you've considered

I guess you could have an x to esc from the current sorting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant