New to Kendo UI for Angular? Start a free 30-day trial
NoRecordsTemplateDirective
Represents the no-records template of the TreeList (see example). Provides an option to customize the
appearance of the item that is displayed when no data is present. To define the no-records template,
nest an <ng-template>
tag with the kendoTreeListNoRecordsTemplate
directive inside <kendo-treelist>
.
When the locked columns of the TreeList are in use, the template is displayed in the non-locked part of the content.
html
<kendo-treelist ... >
<kendo-treelist-column field="name" ></kendo-treelist-column>
<ng-template kendoTreeListNoRecordsTemplate>
No data loaded.
</ng-template>
</kendo-treelist>
Selector
[kendoTreeListNoRecordsTemplate]