WarUI

Expand all, collapse all and expand to level

GRID-A16-F06P1baselinePlanned

Bulk operations open or close every group, or expand down to a given depth. These are exposed through the API and an optional toolbar button. They help users switch quickly between an overview and full detail.

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

10,000-row dataset grouped by 3 levels, all collapsed.

Expected behavior

Each action completes in a single render pass, and the status line reports the visible row count. Focus stays on the same logical row if it remains visible.

Planned API surface

api.expandAllapi.collapseAllapi.expandToLeveloptions.toolbar.items: expandAll, collapseAll

Acceptance criteria

  • expandAll results in every group reporting isGroupExpanded=true. (pending)
  • expandToLevel(2) expands levels 1-2 and collapses deeper levels. (pending)
  • A bulk action emits one summarized event, not one event per group. (pending)
  • The bulk action on 10,000 rows completes under the documented performance budget. (pending)