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

Datavirtualization of gridview using collection as example

2 Answers 98 Views
Data Virtualization
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Balaji
Top achievements
Rank 1
Balaji asked on 29 Mar 2011, 09:58 AM
hi,

can anyone help me to demonstrate datavirtualization in datagrid  using collections as datasource ???please..

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Mar 2011, 10:04 AM
Hi,

 Have you checked our demos?

All the best,
Vlad
the Telerik team
0
Balaji
Top achievements
Rank 1
answered on 31 Mar 2011, 10:52 AM
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

Tags
Data Virtualization
Asked by
Balaji
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Balaji
Top achievements
Rank 1
Share this question
or