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

Binding Hierarchical Data to Multiple RadGridViews

2 Answers 49 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 11 Feb 2015, 08:52 PM
I have a QueryableDataServiceCollectionView that contains hierarchical data: Contracts and Contract Amounts.

I would like to bind the QueryableDataServiceCollectionView to separate RadGridViews (one for contracts, and one for the contract amounts base on the selected contract).

I have successfully done the above in a single RadGridView  using the HierarchyChildTemplate, but would prefer to separate the above into separate grids.

Is this possible?

Any assistance on this is Much Appreciated.

-MikeF





2 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 12 Feb 2015, 12:42 PM
Hello Michael,

You can still do it much like in the Hierarchical approach. Just Bind the external GridView's ItemsSource to the ContractAmounts property of the SelectedItem in the "parent" GridView. 

Hope this helps. 

Regards,
Nick
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Michael
Top achievements
Rank 1
answered on 12 Feb 2015, 02:57 PM
Thanks Nick.

That was easy.

-MikeF
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Nick
Telerik team
Michael
Top achievements
Rank 1
Share this question
or