New to Kendo UI for Angular? Start a free 30-day trial
ExpandableDirective
A directive which controls the expanded state of the items. See example.
html
<kendo-treelist ...
[kendoTreeListFlatBinding]="data"
kendoTreeListExpandable> ...
</kendo-treelist>
Selector
[kendoTreeListExpandable]
Export Name
Accessible in templates as #kendoExpandableInstance="kendoTreeListExpandable"
Inputs
Name | Type | Default | Description |
---|---|---|---|
expandBy |
|
Defines the item key that will be stored in the expandedKeys collection. Defaults to the component idField. | |
expandedKeys |
|
Sets the expanded item keys. | |
initiallyExpanded |
|
|
Specifies if the items should be initially expanded. |
Events
Name | Type | Description |
---|---|---|
expandedKeysChange |
|
Fires when the expandedKeys are changed. |