Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to show a loading indicator with Blazor QuickGrid

$
0
0

The QuickGrid component in Blazor takes an IQueryable object which is defered so the execution of the query is done inside the QuickGrid

How can I display a loading indicator while the QuickGrid does its magic?

@using Microsoft.AspNetCore.Components.QuickGrid<QuickGrid  Items="results" />private IQueryable results{ get;set;}protected override void OnInitialized(){     results = ActivityService.GetActivities();}

thanks

In the animation below you can see that a display message is showed for 1 sec before the quickgrid show the columns (If I add a Task.Delay(1000). but I still have to wait for the data to load without a display message

enter image description here


Viewing all articles
Browse latest Browse all 4839

Trending Articles