DataGrid loading indicator, when there are no reccords

Hello team.
I'm not a paying customer yet (i know I'm not entitled to support).
I'm using Radzen components in a few server and client Blazor projects.

Let's say that RadzenDataGrid is bound to List<Order> orders
If orders.count == 0 && isLoading == true weird loading animation is displayed.
I`m using the RadzenDataGrid buil-in isLoading property to display the loading indicator.

Do you have any idea how we could make a product more robust by customizing this behavior so spineer is always showing when loading is happening?

Observe a picture that has no rows and no custom footer template. In that picture, the component is only grayed out, no spinner is visible.
Observe a second picture, where we have a custom footer template, but no rows. In that case, Datagrid is grayed out, but only half of spinner is visible.


Hi @djukic-marko,

Try adding the following CSS to your application:

.rz-datatable-loading-content {
   z-index: 2 !important;
}

It should make the loading indicator appear on top of the headers. We will include this fix in our themes with the next Radzen.Blazor release.

Hello Korchev. I can't wait for my projects to begin earning enough so that I can buy your excellent products and support you.
I tried the suggested fix, and now everything is OK