New to Kendo UI for Angular? Start a free 30-day trial
Node Template
Updated over 6 months ago
The TreeView enables you to customize the content of its nodes.
To customize the appearance of the nodes, use the NodeTemplate directive. The available context variables are:
let-dataItem—The data item that the node is bound to.let-index="index"—The index of the node in the current level.
The following example demonstrates how to display an icon beside the text of a TreeView node.
Change Theme
Theme
Loading ...