New to Kendo UI for Angular? Start a free 30-day trial
NodeTemplateDirective
Renders the content of each node in the DropDownTree. To define a node template, nest an <ng-template>
tag
with the kendoDropDownTreeNodeTemplate
directive inside the <kendo-dropdowntree>
tag.
To define a node template, nest an <ng-template>
tag with the kendoDropDownTreeNodeTemplate
directive inside the <kendo-dropdowntree>
tag.
You can use these context variables in the template:
let-dataItem
(any
) - The current data item. This is the implicit context variable.let-index="index"
(string
) - The current item's hierarchical index.
Selector
[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]