ExpandGroupDirective
Directive
Controls the expanded state of group rows in the Grid. Use this directive to manage which group rows are expanded or collapsed (see example).
Definition
Package:@progress/kendo-angular-grid
Selector:[kendoGridExpandGroupBy]
Export Name:Accessible in templates as #kendoGridExpandGroupByInstance="kendoGridExpandGroupBy"
Syntax:
TS
<kendo-grid [kendoGridExpandGroupBy]="expandGroupBy" [expandedGroupKeys]="expandedGroupKeys"></kendo-grid>
Inputs
expandedGroupKeys
any[]
Holds the collection of expanded group keys. Set this property to control which group rows are expanded.
groupsInitiallyExpanded
boolean
Specifies if group items are expanded by default.
Default:
false
kendoGridExpandGroupBy
string | (group: GroupRowArgs) => any
Sets the item format stored in the expandedGroupKeys collection.
Accepts a property name or a function that returns a unique key for each group
(see example).
Events
Fires when the expandedGroupKeys collection changes.