Declined
Last Updated: 12 Apr 2021 09:38 by Alex
Alex
Created on: 05 Apr 2021 17:54
Category: Kendo UI for Angular
Type: Bug Report
1
"No records available" in Kendo Grid while it's loading - even if there are records

While the grid is initially loading data, the "No records available." message is confusing and provides no useful information.

Expected behavior - when the grid is initially loading, don't display the message as the rows/data might very well appear

To reproduce basically just go to the grid demo page (refresh if needed) and pay attention to the grid loading: https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/

Example in our project - intuitively you'd think that the grid has no records until you see the loader; in any case, the message looks out of place:

2 comments
Alex
Posted on: 12 Apr 2021 09:38
Thanks for the response!
ADMIN
Martin
Posted on: 09 Apr 2021 09:11

Hi Alex,

Thank you for your feedback.

By design, the 'No records available.' message appears when there is not data in the Grid. In the mentioned scenario, the Grid still has no data, and the message is expected to appear. In general, the component does not know when the data will be available. 

The message reflects the current state of the Grid and it is not considered as a bug.

In order to avoid showing this message, the developer can use  <kendo-grid-messages> and set the noRecords property to an empty string.

  <kendo-grid>
        <kendo-grid-messages noRecords="">
        </kendo-grid-messages>
    </kendo-grid>

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.