Loading animation when using VirtualQueryableCollectionView

3 posts, 0 answers
  1. Wenrong
    Wenrong avatar
    36 posts
    Member since:
    May 2012

    Posted 12 Sep 2012 Link to this post

    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. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 13 Sep 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Wenrong
    Wenrong avatar
    36 posts
    Member since:
    May 2012

    Posted 13 Sep 2012 Link to this post

    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...

Back to Top