@revolist/revogrid / GroupingOptions
Type Alias: GroupingOptions
ts
type GroupingOptions: {
expandedAll: boolean;
groupLabelTemplate: GroupLabelTemplateFunc;
preserveGroupingOnUpdate: boolean;
prevExpanded: Record<string, boolean>;
props: ColumnProp[];
} & ExpandedOptions;
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
expandedAll | boolean | Is expanded by default | src/plugins/groupingRow/grouping.row.types.ts:24 |
groupLabelTemplate | GroupLabelTemplateFunc | Custom group label template | src/plugins/groupingRow/grouping.row.types.ts:34 |
preserveGroupingOnUpdate | boolean | Should grouping be preserved on source update. default: true | src/plugins/groupingRow/grouping.row.types.ts:30 |
prevExpanded | Record <string , boolean > | Currently expanded items. Corresponds to prop values as: source = [{ me: 'a' }, { me: 'b' }, { me: 'c' }], to set expanded: | src/plugins/groupingRow/grouping.row.types.ts:19 |
props | ColumnProp [] | Column props to which grouping will be applied | src/plugins/groupingRow/grouping.row.types.ts:13 |