Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Changing first click on sort arrow behavior #485

Open
@Jendoliver

Description

@Jendoliver

Hello everyone, and thank you for the effort you put into the whole Dash project. It is a really amazing tool which seems to keep getting better very fast!

I just wanted to suggest a feature which started as a question on the forums: Being able to change the first sorting strategy applied per column on datatables.

As stated on the question, right now the first click on the sorting arrow applies an ascending sort with that column, the second one does a descending sort and the third one just clears the sorting.

So even if this isn't a blocker for anything, I think it would be a good quality of life feature to be able to change this first sorting strategy, preferably per column, passing a list of dicts like with the columns parameter. I think this is likely to make users who deal with rows with creation dates which are more likely to be sorted in descending order a bit more happy 😄

I could look into this myself if you think it could be useful as well as a suitable task for a newcomer, as I've always been a bit interested in going deeper into Dash but haven't found an excuse to do so.

Thanks for your time!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions