Grouping events and programmatic API
A complete set of grouping events and methods lets applications react to and drive grouping, such as syncing with external filters, analytics opt-ins or custom toolbars. Group nodes can also be navigated programmatically.
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
Grouped grid with an event log and a sidebar of top-level groups.
Expected behavior
Clicking a sidebar link expands, scrolls to and focuses that group. The cancel toggle blocks the next panel change and reverts the UI.
Planned API surface
events.groupingChangedevents.groupExpandedChangedevents.groupRowClickapi.getGroupNode(path)api.forEachGroupapi.scrollToGroupapi.focusGroupAcceptance criteria
- groupingChanged is emitted before the change and can be cancelled via preventDefault. (pending)
- scrollToGroup expands the ancestors when the expand option is true. (pending)
- forEachGroup visits groups in display order with their depth. (pending)
- Event payloads are documented with TypeScript types. (pending)