New to Telerik UI for Blazor? Download Free 30-day trial
Grid - Loading Animation
- Change Theme
Change something in the grid (edit an item, sort, filter, and so on) to see the built-in loading animation.
|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|
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.