Custom GIF in Blazor TelerikGrid

2 Answers 92 Views
Grid
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Joel asked on 15 Nov 2023, 05:24 PM
Can you point me at example code on how to set the busy indicator in the TelerikGrid to my GIF?

2 Answers, 1 is accepted

Sort by
1
Dimo
Telerik team
answered on 20 Nov 2023, 10:34 AM

Hi Joel,

There are two ways to customize the Grid loading indicator:

Here is an REPL example for both options. I recommend using a separate LoaderContainer, because it doesn't require knowledge of our internal HTML rendering. For the same reason, this approach is also more future-proof.

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
0
Joel
Top achievements
Rank 2
Iron
Iron
Iron
answered on 28 Nov 2023, 04:07 PM
Thanks for the REPL examples.  It seems your "Built-in Grid LoaderContainer" example doesn't show the loading gif.  I followed that approach on my MVC application so I need to have that approach working. I'll see if I can get it running on my app but because this is a widely available solution you may want to update it.
Dimo
Telerik team
commented on 28 Nov 2023, 04:21 PM

Perhaps your comment is related to this paragraph just above the example?

The Grid will not display a loading animation during its initial rendering. The component cannot know when or even if data will be provided to it. Initial automatic loading sign can either show indefinitely, or it could prevent the user from altering any saved Grid state (such as changing filters). If you want a loading animation on the initial load, you can use a LoaderContainer component. See the Grid Loading Animation Live Demo.

Tags
Grid
Asked by
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimo
Telerik team
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or