New to Kendo UI for Angular? Start a free 30-day trial
ColumnMenuItemContentTemplateDirective
Represents the content template of the
kendo-treelist-columnmenu-item
component.
Provides an option for specifying the content of a column item.
To define the content template, nest an <ng-template>
tag with the
kendoTreeListColumnMenuItemContentTemplate
directive inside a <kendo-treelist-columnmenu-item>
.
html
<kendo-treelist ...>
<kendo-treelist-column field="ProductName">
<ng-template kendoTreeListColumnMenuTemplate>
<kendo-treelist-columnmenu-item text="Item Text" [expanded]="true">
<ng-template kendoTreeListColumnMenuItemContentTemplate>
Item Content
</ng-template>
</kendo-treelist-columnmenu-item>
</ng-template>
</kendo-treelist-column>
</kendo-treelist>
Selector
[kendoTreeListColumnMenuItemContentTemplate]