Displaying Child objects per Parent Row

2 posts, 0 answers
  1. Brad
    Brad avatar
    1 posts
    Member since:
    Jul 2019

    Posted 11 Jul Link to this post

    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

  2. Dimitar
    Admin
    Dimitar avatar
    2818 posts

    Posted 15 Jul Link to this post

    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.
Back to Top