ExpandableDirective
Directive
A directive which controls the expanded state of items in the TreeList. See example.
Definition
Package:@progress/kendo-angular-treelist
Selector:[kendoTreeListExpandable]
Export Name:Accessible in templates as #kendoTreeListExpandableInstance="kendoTreeListExpandable"
Syntax:
html
<kendo-treelist ...
[kendoTreeListFlatBinding]="data"
kendoTreeListExpandable> ...
</kendo-treelist>
Inputs
expandBy
string | (dataItem: any) => any
Defines the item key stored in the expandedKeys collection.
Uses the component idField by default.
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.