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

Ability to sort by multiple columns in DataGrid #1265

Closed
knstvk opened this issue Dec 5, 2022 · 2 comments · Fixed by #2085 or #2086
Closed

Ability to sort by multiple columns in DataGrid #1265

knstvk opened this issue Dec 5, 2022 · 2 comments · Fixed by #2085 or #2086

Comments

@knstvk
Copy link
Contributor

knstvk commented Dec 5, 2022

FlowUI:

3 new XML attributes:
multiSort (boolean): enable or disable sorting
multiSortOnShiftClickOnly (boolean): enables multiple sorting only when the shift key is pressed
multiSortPriority (enum): the logic for adding new columns to sorting

@KremnevDmitry
Copy link
Contributor

KremnevDmitry commented Jul 26, 2023

For QA:

How to test

  1. FlowUI:

    • Set the multisort attribute for the DataGrid in the XML
    • Open the entity-list view
    • Click on column headers
      Multi sorting should be added
    • Set the multiSortPriority attribute to APPEND for the DataGrid
    • The order in which columns are added to the sort should change
    • Set the multiSortOnShiftClickOnly attribute to true
    • Multi sorting should only be available with shift-click
  2. ClassicUI:

    • Open the browser screen
    • Single sorting should be available by clicking on the column header.
    • Multi sorting should only be available with shift-click

@konyashkina
Copy link

Tested on

  • 2.1-SNAPSHOT
  • 1.6-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment