ExpandDirective

A directive which manages the expanded state of the TreeView (see example).

Selector

[kendoTreeViewExpandable]

Inputs

expandBy

string | (context: TreeItem) => any

Defines the item key that will be stored in the expandedKeys collection.

expandedKeys

any[]

Defines the collection that will store the expanded keys.

Events

expandedKeysChange

EventEmitter<any[]>

Fires when the expandedKeys collection was updated.