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

SelectDirective

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

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

Selector

[kendoTreeViewSelectable]

Inputs

NameTypeDefaultDescription

selectedKeys

any[]

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

kendoTreeViewSelectable

string | boolean | SelectableSettings

Sets the current selection mode (see example).

selectBy

string | (context: TreeItem) => any

Sets the item key stored in the selectedKeys collection.

Events

NameTypeDescription

selectedKeysChange

EventEmitter<any[]>

Emits when the selectedKeys collection updates.

In this article
SelectorInputsEvents
Not finding the help you need?
Contact Support