Two grids with 1:n relationship

5 posts, 1 answers
  1. Manu
    Manu avatar
    10 posts
    Member since:
    Jun 2016

    Posted 01 Jul Link to this post

    Hello,

    I am a newbie with Kendo grid and I would like to have two grids on a page whose data  have a 1:n relation to each other.

    Selecting a record in the first grid should display the corresponding records in the second grid. In my case, the data come from two tables in an sql database.

    Is there a simple example that demonstrates the setup for such a case?

    Thanks for your help.

    Reards,

    Manu

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 05 Jul Link to this post

    Hello Manu,

    Please examine the following demo where is illustrated how to configure hierarchical grid - http://demos.telerik.com/kendo-ui/grid/hierarchy

    Regards,
    Danail Vasilev
    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
  4. Manu
    Manu avatar
    10 posts
    Member since:
    Jun 2016

    Posted 05 Jul in reply to Danail Vasilev Link to this post

    Thanks, the link to the hierarchic grids helped.

    Do you have an example with two separate grids that are related 1:n?

    Best regards,

    Manu

  5. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 07 Jul Link to this post

    Hello Manu,

    We don't have an official example to provide but you may find useful the following threads and the corresponding samples on the matters:

       - http://www.telerik.com/forums/2-seperate-grids-in-one-page#ZTrPpj_CMEmNT6jMIl0QVw 
       - http://www.telerik.com/forums/two-grids-on-single-page-one-grid-filtering-other


    Regards,
    Danail Vasilev
    Telerik by Progress
    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
  6. Manu
    Manu avatar
    10 posts
    Member since:
    Jun 2016

    Posted 07 Jul in reply to Danail Vasilev Link to this post

    Thank you, that helped.
Back to Top
UI for ASP.NET MVC is VS 2017 Ready