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

Manages the in-memory selection state of TreeView nodes (see example).

Definition

Package:@progress/kendo-angular-treeview

Selector:[kendoTreeViewSelectable]

Syntax:

html
<kendo-treeview
   ...
   kendoTreeViewSelectable
   selectBy="id"
   [(selectedKeys)]="selectedKeys"
>
</kendo-treeview>

Inputs

Sets the current selection mode (see example).

selectBy

string | (context: TreeItem) => any

Sets the item key stored in the selectedKeys collection.

Defines the collection that stores the selected keys (see example).

Events

Emits when the selectedKeys collection updates.