# Templates

The MultiSelectTree provides templates which enable you to customize the content of its drop-down list items.

## Item Template

To customize the content of the list items, use a item template. To define a item template, nest an `<ng-template>` tag with the [`kendoMultiSelectTreeNodeTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/nodetemplatedirective) directive inside a `<kendo-multiselecttree>` tag.

Use the `let-dataItem` directive to access the template context that is established based on the current data item displayed in the component list.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/multiselecttree/templates/item/source.txt)

## Tag Template

To customize the content of the element that holds the selected text, use the tag template. To define a tag template, nest an `<ng-template>` tag with a [`kendoMultiSelectTreeTagTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/tagtemplatedirective) directive inside a `<kendo-multiselecttree>` tag.

> * To render the selected items as a single summary tag, enable the [single-tag mode](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselecttree/summary-tag-mode) through the [`GroupTagTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/grouptagtemplatedirective).
> * While the `TagTemplate` enables you customize a single tag, the `GroupTagTemplate` enables you to customize the selected items in the single-tag mode.

The template context is set to the current MultiSelectTree component.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/multiselecttree/templates/tag/source.txt)

## Header Template

To customize the header element of the drop-down list, use a header template. To define a header template, nest an `<ng-template>` tag with a [`kendoMultiSelectTreeHeaderTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/headertemplatedirective) directive inside a `<kendo-multiselecttree>` tag.

The template context is set to the current MultiSelectTree component.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/multiselecttree/templates/header/source.txt)

## Footer Template

To customize the footer element of the drop-down list, use a footer template. To define a footer template, nest an `<ng-template>` tag with a [`kendoMultiSelectTreeFooterTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/footertemplatedirective) directive inside a `<kendo-multiselecttree>` tag.

The template context is set to the current MultiSelectTree component.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/multiselecttree/templates/footer/source.txt)

## No-Data Template

To customize the content of the drop-down list when no data is available, use a no-data template. To define a no-data template, nest an `<ng-template>` tag with a [`kendoMultiSelectTreeNoDataTemplate`](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/nodatatemplatedirective) directive inside a `<kendo-multiselecttree>` tag.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/multiselecttree/templates/no_data/source.txt)

## Suggested Links

* [API Reference of the MultiSelectTree](https://www.telerik.com/kendo-angular-ui/components/dropdowns/api/multiselecttreecomponent)
