GanttExpandableDirective
Directive
Represents a directive that controls the expanded state of Gantt items.
Definition
Package:@progress/kendo-angular-gantt
Selector:[kendoGanttExpandable]
Export Name:Accessible in templates as #kendoGanttExpandableInstance="kendoGanttExpandable"
Syntax:
html
<kendo-gantt kendoGanttExpandable [expandedKeys]="expandedKeys"></kendo-gantt>
Inputs
expandBy
string | (dataItem: any) => any
Sets the item key stored in the expandedKeys collection.
The default value is the task data item ID field, specified in the taskModelFields object.
expandedKeys
any[]
Sets the expanded item keys. Use this property to control which items are expanded.
initiallyExpanded
boolean
Specifies if items are initially expanded.
Default:
false
Events
Emits when the expandedKeys change.