All Components


Used for rendering the header content of the list.

To define the header template, nest a <ng-template> tag with the kendo<ComponentName>HeaderTemplate directive inside the component tag.

You can use:

  • The kendoAutoCompleteHeaderTemplate directive for the AutoComplete.
  • The kendoComboBoxHeaderTemplate directive for the ComboBox.
  • The kendoDropDownListHeaderTemplate directive for the DropDownList.
  • The kendoMultiSelectHeaderTemplate directive for the MultiSelect.
selector: 'my-app',
template: `
 <kendo-combobox [data]="listItems">
   <ng-template kendoComboBoxHeaderTemplate>
     <h4>Header template</h4>
class AppComponent {
  public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];

For more examples, refer to the article on templates.



In this article