You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Use custom no data templates in Grid for Blazor.
4
+
description: Use custom no data templates in the Telerik Grid for Blazor when the component has no items to display.
5
5
slug: grid-templates-no-data
6
-
tags: telerik,blazor,grid,templates,no,data
6
+
tags: telerik,blazor,grid,templates
7
7
published: True
8
8
position: 38
9
9
---
@@ -13,60 +13,53 @@ position: 38
13
13
14
14
The `NoDataTemplate` allows you to define custom content when the Grid has no data to show. It lets you change the default **No records available** localizable text.
15
15
16
-
>caption Custom content for an empty Grid
16
+
The Grid will also show its default or custom `NoDataTemplate` while loading its initial data. To help users distinguish between the "no data" and "still loading" states, [display a LoaderContainer over the Grid on initial load]({%slug grid-loading%}#example).
17
17
18
-

19
-
20
-
>caption Use the NoDataTemplate to override the message shown while the data is still loading or when you try to filter a non-existing item
18
+
>caption Using NoDataTemplate
21
19
22
20
````CSHTML
23
-
@* The example showcases a Grid with a delay upon initializing its data and filtering on non-existing data *@
0 commit comments