Skip to content

@revolist/revogrid / GroupingOptions

Type Alias: GroupingOptions

ts
type GroupingOptions: {
  expandedAll: boolean;
  groupLabelTemplate: GroupLabelTemplateFunc;
  preserveGroupingOnUpdate: boolean;
  prevExpanded: Record<string, boolean>;
  props: ColumnProp[];
 } & ExpandedOptions;

Type declaration

NameTypeDescriptionDefined in
expandedAllbooleanIs expanded by defaultsrc/plugins/groupingRow/grouping.row.types.ts:24
groupLabelTemplateGroupLabelTemplateFuncCustom group label templatesrc/plugins/groupingRow/grouping.row.types.ts:34
preserveGroupingOnUpdatebooleanShould grouping be preserved on source update. default: truesrc/plugins/groupingRow/grouping.row.types.ts:30
prevExpandedRecord<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
propsColumnProp[]Column props to which grouping will be appliedsrc/plugins/groupingRow/grouping.row.types.ts:13

Defined in

src/plugins/groupingRow/grouping.row.types.ts:9

Revogrid is a powerful data grid library made by Revolist OU.