New to Kendo UI for Angular? Start a free 30-day trial

ColumnMenuTemplateDirective

Represents the template for the column menu in the TreeList. Provides an option for customizing the content of the column menu for all or for specific columns. To define the content template, nest an <ng-template> tag with the kendoTreeListColumnMenuTemplate directive inside the kendo-treelist or the <kendo-treelist-column> component.

The template context is passes through the following fields:

  • service—Represents the ColumnMenuService.
  • column—Represents the TreeList column.
<kendo-treelist ... >
  <ng-template kendoTreeListColumnMenuTemplate let-service="service">
    <kendo-treelist-columnmenu-sort [service]="service">
    </kendo-treelist-columnmenu-sort>
  </ng-template>
  <kendo-treelist-column field="name">
    <ng-template kendoTreeListColumnMenuTemplate let-service="service">
      <kendo-treelist-columnmenu-sort [service]="service">
      </kendo-treelist-columnmenu-sort>
    </ng-template>
  </kendo-treelist-column>
</kendo-treelist>

Selector

[kendoTreeListColumnMenuTemplate]

In this article

Not finding the help you need?