WarUI

Group selection with tri-state checkboxes

GRID-A16-F21P1baselinePlanned

Selecting a group row selects all of its filtered descendants, and partial selections show an indeterminate state. Developers choose whether group selection includes rows hidden by filters.

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

Live example

Tickets grouped by Status > Assignee with the checkbox column on.

Expected behavior

Checking a group checks its children. Unchecking one child makes the parent indeterminate. The selected count display updates.

Planned API surface

options.selection.modeoptions.selection.groupSelects (descendants | filteredDescendants | none)events.selectionChangedapi.getSelectedRows

Acceptance criteria

  • A group checkbox is checked only if all eligible descendants are selected. (pending)
  • Indeterminate shows when some, but not all, descendants are selected. (pending)
  • Group rows themselves never appear in getSelectedRows. (pending)
  • filteredDescendants excludes rows hidden by the active filter. (pending)