WarUI

Header and select-all range selection

GRID-A12-F04P1baselinePlanned

Clicking a column header selects the whole column as a range, and clicking a row number selects the whole row. A corner button selects all cells. Dragging across headers selects several columns or rows.

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

Live example

A grid with a row-number column and a select-all corner button.

Expected behavior

Clicking a header selects that full column. Shift+clicking another header extends the selection across columns. Selections that grow from a full column or row stay valid when rows are added.

Planned API surface

rangeSelection.headerSelectrowNumbers.enabledselectAllCells()selection:rangeChange

Acceptance criteria

  • A full-column range is stored as an open-ended row span, not as a fixed list of row indices (pending)
  • Rows appended after the selection are included in the full-column range (pending)
  • Sorting is still reachable from the keyboard and pointer when headerSelect is on (pending)