New to Kendo UI for Angular? Start a free 30-day trial

GanttExpandableDirective

A directive which controls the expanded state of the items.

Selector

[kendoGanttExpandable]

Export Name

Accessible in templates as #kendoGanttExpandableInstance="kendoGanttExpandable"

Inputs

NameTypeDefaultDescription

expandBy

string | (dataItem: any) => any

Defines the item key that will be stored in the expandedKeys collection. Defaults to the task data item ID field, which is specified in the taskModelFields object.

expandedKeys

any[]

Sets the expanded item keys.

initiallyExpanded

boolean

false

Specifies if the items should be initially expanded.

Events

NameTypeDescription

expandedKeysChange

EventEmitter<any>

Fires when the expandedKeys are changed.

In this article

Not finding the help you need?