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

[Solved] Need an example on how to dynamically load a child grid

1 Answer 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rob Conley
Top achievements
Rank 1
Rob Conley asked on 09 Jan 2013, 03:04 AM
I am familiar with the RadTreeView's load on demand. I need to do the same thing the grid.
 
I'm loading via WCF Ria and creating a VirtualQueryableCollectionView for the Itemsource.

I would like to detect when a grid is expanded and presumably fire a request to load the child grid's data into child collection in the VQCV.
 
I'm not finding a good example of this. Please point me in the right direction or tell me if my approach is wrong.

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 11 Jan 2013, 09:34 AM
Hello Rob,

The approach is basically the same. As you can see in the TreeList example everything is being loaded when a node is being expanded, which you can do with the IsExpandedChanged events of the GridView.

Hope this helps! 

All the best,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Rob Conley
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or