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

Multiple Datasource within RadGrid Nested View

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 23 Feb 2015, 04:36 PM
Hi,

I have a requirement where I would like the following.

Hierarchal RadGrid which has a nested view showing an
information card – for example and then beneath this 2 or more repeaters which
are bound to different datasources.

Let’s say the parent datasource is people, you click on a
person which expands to show an information card on this but then there are two
bound repeaters.  One is bound to hobbies
(where there can be many) and the other is bound to favourite foods (again
multiple values). 

I can only seem to get the hierarchy working with a top
level datasource and one other for the detail. 


I have used gridtableview but the issue I have with this is
firstly the styling is not as flexible as a repeater but also when I expand
another person all of the dtail table to reflect that row.  They don’t seem to be bound to the row they
are contained within.

 

Has anybody dealt with anything similar and could point me
in the right direction please?

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 26 Feb 2015, 10:57 AM
Hi Simon,

I have prepared a sample project that illustrates how you can implement the functionality. It is attached to this post. Try to use similar approach and you should be able to implement the functionality you are looking for.

Regards,
Viktor Tachev
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.

 
Tags
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or