WarUI

Checkbox selection column

GRID-A11-F04P0baselinePlanned

Adds a dedicated leading column with a checkbox per row. Checkboxes give a visible, discoverable affordance for multi-select without modifier keys. The column can be pinned, and row-click selection can be limited to the checkbox.

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

Live example

An article grid with a checkbox column on the left, selectOnRowClick off, and 0 selected.

Expected behavior

Ticking a checkbox toggles that row without clearing the others. With selectOnRowClick off, clicking elsewhere in the row does not select. Shift+clicking a checkbox selects a range from the anchor.

Planned API surface

checkboxSelection: booleanselectOnRowClick: booleancheckboxColumnPinnedcheckboxColumnWidthrenderSelectionCell

Acceptance criteria

  • Each selectable row renders a checkbox whose checked state matches its selection state. (pending)
  • Clicking a checkbox toggles only that row. (pending)
  • Shift+clicking a checkbox applies range selection (F03 rules). (pending)
  • With selectOnRowClick=false, a click outside the checkbox leaves the selection unchanged. (pending)
  • The checkbox column stays visible during horizontal scroll when pinned. (pending)