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

[Solved] Loading indicator on static data

1 Answer 172 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 24 Apr 2015, 01:54 PM

Hi

In following example I am simulating (via timeout) the time my DB needs to collect the data I want to feed to the kendo grid.

http://dojo.telerik.com/aviLI

The datasource gets a variable filled with the data like this

datasource: { data: data }

This "data" item is filled with the data from my DB.

I want to draw the grid on the page and show a loading indicator until the data array has been filled (simulated by the timeout).

How could I go about this?

Many thanks

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 28 Apr 2015, 08:44 AM
Hi Markus,

You may use kendo.ui.progress method to display and hide loading animation. For your convenience I prepared a small example.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Markus
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or