Displaying Group row as detail row in grid

2 posts, 0 answers
  1. Mayuri
    Mayuri avatar
    7 posts
    Member since:
    Sep 2015

    Posted 01 Oct 2015 Link to this post

    Hi,

    I have a kendo grid displaying company data with parent-child relationship(parent company with multiple child companies). In grid I am grouping data on parentcompanyid column. But because of this grouping the grid does not show parentcompany data in grid except the parentcompanycode as group label. I want to display parent company data as a child row along with other child companies and it has to be displayed at the end of group list i.e. child companies first and then parent company. How can I achieve this?

    Example:

    Company                Loc           EmpCount

    ABC - Parent company

    PQR (child)             X                   30

    XYZ (child)              X                   20

    ABC(parent rec)      X                   10

                                           Total       60

    Here though ABC is a parent company and group data but still it is shown as a separate entity in child list.

     

    Thanks.

  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 05 Oct 2015 Link to this post

    Hello Mayuri,

     

    There must be a field in the data on which to group. In the following example this is the `ParentCompany` field. Your data must have shape similar to the example bellow in order to achieve this scenario.

     

    http://dojo.telerik.com/orOya

     

    Regards,
    Nikolay Rusev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top