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

Displaying Child objects per Parent Row

1 Answer 136 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 11 Jul 2019, 08:28 PM

Hi there,

 

For Example I have the following class structures.

List<ParentA> which I populate and bind it to a radGridView.

This ParentA object contains a List of child objects that I want to display as Child rows per ParentA.  

I have AutogenerateHierarchy set to true, but the children aren't now appearing.  Is there something else I need to do to get them to display?

Thanks,

Brad

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 15 Jul 2019, 10:49 AM
Hi Brad,

That it all that needs to be done. I have tested it and it works on my side. The attached project show a sample implementation. 

I hope this helps. Should you have any other questions, do not hesitate to ask.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Brad
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or