Expand and collapse individual groups
Group rows toggle open and closed by mouse, keyboard or API. A default expansion policy controls the initial state.
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
Projects grouped by Status > Owner. Default expansion is level 1.
Expected behavior
Clicking the chevron toggles the group, and its children appear or disappear without the scroll position jumping. Changing the default re-initializes the expansion state.
Planned API surface
options.grouping.defaultExpanded (boolean | level number)api.expandGroupapi.collapseGroupapi.isGroupExpandedevents.groupExpandedChangedAcceptance criteria
- The chevron click toggles exactly one group. (pending)
- defaultExpanded=1 expands only first-level groups on load. (pending)
- api.expandGroup(path) expands that group and all its ancestors. (pending)
- groupExpandedChanged fires with the path and the new state. (pending)