Skip to content

Add sorting capability to the table sort criteria list #2230

Open
@FabienLelaquais

Description

@FabienLelaquais

Description

The sort feature of the table control allows for creating several sorting criteria.
They are applied in order, from top to bottom.

If you want to swap two criteria, at best you must delete one and recreate it.
This is a frustrating.

Solution Proposed

To the right of the sorting criteria, there would be two small button to move a criteria in the list (up or down).
The first item will only have a 'move down' (↓) button.
The last item will only have a 'move up' (↑) button.
If there is only one criteria, no button is visible.

I'm not sure that 'move to top (↑͞)' or 'move to bottom (↓͟)' buttons are needed at this point.

Acceptance Criteria

  • If applicable, a new demo code is provided to show the new feature in action.
  • Integration tests exhibiting how the functionality works are added.
  • Any new code is covered by a unit tested.
  • Check code coverage is at least 90%.
  • Related issue(s) in taipy-doc are created for documentation and Release Notes are updated.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)

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