VirtualItemCount

3 posts, 0 answers
  1. Ganesh Shivshankar
    Ganesh Shivshankar avatar
    78 posts
    Member since:
    Sep 2009

    Posted 25 Sep 2012 Link to this post

    Hi,

    How do we decide on the VirtualItemCount when initializing the VirtualQueryableCollectionView? Behavior varies based on what value is being set. If i set it to say 100, then when the grid loads it shows empty rows and then the grid populates after fetching the data. This behavior results in a staggered visual effect on the UI.

    What is the best way to use virtualization? I dont seem to be able to get a good result out of this.

    Thanks.

    Ganesh
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 25 Sep 2012 Link to this post

    Hi Ganesh,

    Other possible approach can be to first call your service to get the total number of items and than create the virtual collection with the right number for VirtualItemCount.

    All the best,
    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. DevCraft banner
  4. Ganesh Shivshankar
    Ganesh Shivshankar avatar
    78 posts
    Member since:
    Sep 2009

    Posted 25 Sep 2012 Link to this post

    Thanks Vlad.

    Thats much better now.
Back to Top