API reference: @salmonui/data-grid/engine
GroupingSetExpandedCommandtype
import type { GroupingSetExpandedCommand } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/grouping.
type GroupingSetExpandedCommand = {
type: 'grouping.setExpanded';
expanded: Record<string, boolean>;
defaultExpanded?: boolean;
};
Controlled expansion: replaces the per-group overrides (and optionally the default).
| Name | Signature | Description |
|---|---|---|
type | type: 'grouping.setExpanded'; | |
expanded | expanded: Record<string, boolean>; | |
defaultExpandedoptional | defaultExpanded?: boolean; |