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.
expandOnFilter
boolean | FilterExpandSettings
(default: false)
Whether or not to auto-expand the nodes leading from the root node to each filter result.
To fine-tune this behavior, pass a FilterExpandSettings
object to this input.
expandedKeys
any[]
Defines the collection that will store the expanded keys.
Events
expandedKeysChange
EventEmitter<any[]>
Fires when the expandedKeys
collection was updated.