New to Telerik UI for Blazor? Download Free 30-day trial

Grid - Loading Animation

Data operations are intentionally slowed down for the purpose of the demo.
Change something in the grid (edit an item, sort, filter, and so on) to see the built-in loading animation.
1 Chai 1 1
2 Chang 1 1
3 Aniseed Syrup 2 1
4 Chef Anton's Cajun Seasoning 2 2
5 Chef Anton's Gumbo Mix 2 2
6 Grandma's Boysenberry Spread 2 3
7 Uncle Bob's Organic Dried Pears 7 3
8 Northwoods Cranberry Sauce 2 3
9 Mishi Kobe Niku 6 4
10 Ikura 8 4
  • Loading-animation.razor
  • ProductService.cs
  • ProductDto.cs
Loading the demo source code...please wait.

Description

When it detects a long operation, the Blazor Grid shows a loading animation while the user works with it and performs a data operation such as editing, inserting, deleting a record; paging the grid, sorting, filtering and grouping.

Since the grid cannot know when or even if the initial data will be provided, you can add a loading indicator for the initial load through the Loader Container component (you can see an example in this demo of that as well). When using the OnRead event, the grid will add a loading sign for it on subsequent Read operations.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.
Reload