Datavirtualization of gridview using collection as example

3 posts, 0 answers
  1. Balaji
    Balaji avatar
    12 posts
    Member since:
    Mar 2011

    Posted 29 Mar 2011 Link to this post

    hi,

    can anyone help me to demonstrate datavirtualization in datagrid  using collections as datasource ???please..
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Mar 2011 Link to this post

    Hi,

     Have you checked our demos?

    All the best,
    Vlad
    the Telerik team
  3. DevCraft banner
  4. Balaji
    Balaji avatar
    12 posts
    Member since:
    Mar 2011

    Posted 31 Mar 2011 Link to this post

    hi,

    I need to display record from collection ...i am having 200 records in that collection..but in ur site you have done through domaincontext..so that it is not useful to my case..my code is

     

    this.ResultCollection = e.EntityCollection as GenericPersonSearchResultCollection;

    var view = new VirtualQueryableCollectionView()
    {

    LoadSize = 20,

    VirtualItemCount = this.ResultCollection.Count
    };

    view.ItemsLoading += (s,evtArgs)=>
    {
    ResultCollection.Load(?????????????????).completed +=(s,e)------>>>>  not available here

    view.Load(evtArgs.StartIndex,this.ResultCollection);
    };

     

     


    I dont have Load & completed event  ...
    please help me to load data from collection instead from domaincontext..

     

     

    Thanks & regards
    Balaji

Back to Top