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

Loading animation when using VirtualQueryableCollectionView

2 Answers 124 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wenrong
Top achievements
Rank 1
Wenrong asked on 12 Sep 2012, 11:44 PM
Is there a way to instruct the RadGridView to display loading animation while it is fetching data from the bound VirtualQueryableCollectionView(query) { LoadSize = 10 }?

Probably not when scrolling, but when it's loading the initial data...

I have tried DataLoadMode="Asynchronous" but that doesn't seem to do the trick...

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Sep 2012, 05:40 AM
Hello,

 DataLoadMode="Asynchronous"  is related to the the entire collection loading in the background thread while VirtualQueryableCollectionView will load/access items record by record and the grid will not know anything about this. 

Kind regards,
Vlad
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Wenrong
Top achievements
Rank 1
answered on 13 Sep 2012, 05:45 AM
I changed database binding from VirtualQueryableCollectionView to a simple List like this:

public List<Item> Items
{
    get
    {
        Thread.Sleep(3000);
        return new List<Item>(odataquery);
    }
}

But still don't see the loading animation...

Tags
GridView
Asked by
Wenrong
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Wenrong
Top achievements
Rank 1
Share this question
or