Completed
Last Updated: 26 Jun 2021 16:59 by ADMIN
Release 2.26.0
Kelly
Created on: 16 Mar 2020 10:53
Category: Grid
Type: Feature Request
24
Zero Records Message (NoDataTemplate)
I would like to display a message where rows would be displayed in grid, when there are no records returned from the data source. Basically, a message with graphics and hyperlink that direct the user to a page to enter a new record.
1 comment
ADMIN
Svetoslav Dimitrov
Posted on: 16 Mar 2020 11:15

Hello Kelly ,

As a workaround I would suggest you use if / else statement where you render the grid only if there is information to be displayed like shown in the code snippet below:

 

@if(MyGridData == null)
{
    //Loading animation or any custom component (e.g. CreateNewItem)
} 
else
{
    <TelerikGrid />
}

 

You can also see these Feature Requests on our Feedback Portal. They are not directly connected to what you have encountered, but will further enrich the functionality you described:

Regards,


Svetoslav Dimitrov
Progress Telerik

 UI for Blazor