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

HeaderTemplateDirective

Represents the column header cell template of the TreeList (more information and example). Helps to customize the table header cell for the column. To define a header template, nest an <ng-template> tag with the kendoTreeListHeaderTemplate directive inside the <kendo-treelist-column> tag.

The template context is set to the current column and then the following additional fields are passed:

  • columnDefines an instance of the ColumnComponent option.
  • columnIndexDefines the current column index.
Example
View Source
Edit In Stackblitz  
Change Theme:

Selector

[kendoTreeListHeaderTemplate]

In this article

Not finding the help you need?