This is a migrated thread and some comments may be shown as answers.

Use custom .gif on Load

1 Answer 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Veteran
Iron
Iron
Joel asked on 05 Oct 2020, 09:37 PM
How do I use my own .gif in the grid while it is loading?

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 08 Oct 2020, 12:20 PM

Hi, Joel

My colleague has given an answer to this question in this thread:

https://www.telerik.com/forums/kendo-grid-loader-icon-customization#Uhbt_JDeqUaW8qTibNSBDA

To save you some time you need to modify the styling class of the loader. The following snippet could be copy-pasted directly into the grid's View file.

<style>
    .k-loading-mask .k-loading-image {
      background-image: url('Url to your gif');
    }
  </style>

In the above link there is a runnable preview in Dojo in case you want to examine it yourself.

Let me know if you have any questions.

Best Regards,
Georgi Denchev
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Grid
Asked by
Joel
Top achievements
Rank 1
Veteran
Iron
Iron
Answers by
Georgi Denchev
Telerik team
Share this question
or