New to Kendo UI for AngularStart a free 30-day trial

GanttExpandableDirective

Represents a directive that controls the expanded state of Gantt items.

html
<kendo-gantt kendoGanttExpandable [expandedKeys]="expandedKeys"></kendo-gantt>

Selector

[kendoGanttExpandable]

Export Name

Accessible in templates as #kendoGanttExpandableInstance="kendoGanttExpandable"

Inputs

NameTypeDefaultDescription

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

false

Specifies if items are initially expanded.

Events

NameTypeDescription

expandedKeysChange

EventEmitter<any>

Emits when the expandedKeys change.

In this article
SelectorExport NameInputsEvents
Not finding the help you need?
Contact Support