New to Kendo UI for AngularStart a free 30-day trial

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.

Sets the expanded item keys. Use this property to control which items are expanded.

Specifies if items are initially expanded.

Default:

false

Events

Emits when the expandedKeys change.