New to Kendo UI for Angular? Start a free 30-day trial
NoDataTemplateDirective
Updated on Oct 30, 2025
Renders content when no data is available. To define the no-data template, nest a <ng-template> tag
with the kendo<ComponentName>NoDataTemplate directive inside the component tag.
- Using
NoDataTemplatewith the AutoComplete - Using
NoDataTemplatewith the ComboBox - Using
NoDataTemplatewith the MultiColumnComboBox - Using
NoDataTemplatewith the DropDownList - Using
NoDataTemplatewith the DropDownTree - Using
NoDataTemplatewith the MultiSelect
ts
@Component({
selector: 'my-app',
template: `
<kendo-combobox [data]="listItems">
<ng-template kendoComboBoxNoDataTemplate>
<h4>No data!</h4>
</ng-template>
</kendo-combobox>
`
})
class AppComponent {
public listItems: Array<string> = [];
}
Selector
[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]