-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Labels
C: VDataTableP: elite sponsorT: enhancementFunctionality that enhances existing featuresFunctionality that enhances existing features
Description
Problem to solve
Currently, multi-sort
always appends new columns to the sort-by
array, so the last column has the lowest priority. It works fine until the table has initial sorting defined when the page loads and user would like sort by something not realizing that he/she has to undo sorting for all the sorted columns.
While the best UX requires some external sorting menu/dropdown with a drag&drop, some developers might want to keep it simple and just prioritize the sorting of the last-clicked column.
Proposed solution
multi-sort-order: 'prepend' | 'append'
- (nice to have) detecting a modifier key (Shift or Alt ?) to flip the sorting order
multi-sort-order-modifier: 'shift' | 'alt'
Metadata
Metadata
Assignees
Labels
C: VDataTableP: elite sponsorT: enhancementFunctionality that enhances existing featuresFunctionality that enhances existing features