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.

The current data item and hierarchical index are available as context variables:

  • let-dataItem (any) - The current data item. Available as implicit context variable.
  • let-index="index" (string) - The current item hierarchical index.

Selector

[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]

In this article

Not finding the help you need?