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

Loading animation whne no data and scrollable is set to true

1 Answer 3 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Veteran
Marcin asked on 24 Oct 2013, 12:21 PM
Hello
I have problem with showing loading animation when after filter there is no data and then I press refresh or clear filter. There is no loading animation when scrollable flag is set to true. If there is no scrollable flag (scrollable flag is false) everything is working properly.

Regards
Marcin

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 25 Oct 2013, 03:35 PM
Hi Marcin,

Here is an example, which works as expected:

http://demos.kendoui.com/web/grid/remote-data.html

The loading animation may not display if the scrollable Grid has no height, which allows the scrollable area to collapse completely when there are no data records. In this case you can apply a min-height style to the data area:

.k-grid-content
{
    min-height: 50px;
}


Regards,
Dimo
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
Marcin
Top achievements
Rank 1
Veteran
Answers by
Dimo
Telerik team
Share this question
or