SelectableDirective
Directive
A directive which controls the selection state. See example.
Definition
Package:@progress/kendo-angular-treelist
Selector:[kendoTreeListSelectable]
Export Name:Accessible in templates as #kendoTreeListSelectableInstance="kendoTreeListSelectable"
Syntax:
html
<kendo-treelist
[kendoTreeListSelectable]="{ mode: 'row' }"
[selectedItems]="selectedItems">
<kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
<kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
</kendo-treelist>
Inputs
columnKey
string | (column: any, columnIndex: number) => any
The field name or a function that specify the columns key.
itemKey
string | (dataItem: any) => any
The field name or a function that specify the dataItems key.
Specifies the selected items.
Events
Fires when the selected items are changed.