New to Kendo UI for Angular? Start a free 30-day trial
SelectableDirective
A directive which controls the selection state. See example.
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>
Selector
[kendoTreeListSelectable]
Export Name
Accessible in templates as #kendoSelectableInstance="kendoTreeListSelectable"
Inputs
Name | Type | Default | Description |
---|---|---|---|
columnKey |
|
The field name or a function that specify the columns key. | |
itemKey |
|
The field name or a function that specify the dataItems key. | |
selectedItems |
|
Specifies the selected items. |
Events
Name | Type | Description |
---|---|---|
selectedItemsChange |
|
Fires when the selected items are changed. |