Binding Hierarchical Data to Multiple RadGridViews

3 posts, 0 answers
  1. Michael
    Michael avatar
    11 posts
    Member since:
    Oct 2013

    Posted 11 Feb 2015 Link to this post

    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. Nick
    Admin
    Nick avatar
    593 posts

    Posted 12 Feb 2015 Link to this post

    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.

     
  3. Michael
    Michael avatar
    11 posts
    Member since:
    Oct 2013

    Posted 12 Feb 2015 in reply to Nick Link to this post

    Thanks Nick.

    That was easy.

    -MikeF
Back to Top