WarUI

Sorting from the Header Menu

GRID-A09-F21P2baselinePlanned

The column header menu provides 'Sort ascending', 'Sort descending', 'Add to sort' and 'Clear sort'. These items give a discoverable alternative to modifier keys.

Planned. This page shows the specification from issue #186. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

The employee grid with the column menu enabled.

Expected behavior

The menu items change the sort in the same way as the equivalent header and keyboard actions.

Planned API surface

columnMenu.itemsmenuItems.sortAscmenuItems.sortDescmenuItems.addToSortmenuItems.clearSortmenuItems.clearAllSorts

Acceptance criteria

  • Each menu item maps to the equivalent sort transition (pending)
  • The current state is shown with a check mark (pending)
  • The menu items fire events with source='menu' (pending)