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

Two grids with 1:n relationship

4 Answers 222 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Manu
Top achievements
Rank 1
Manu asked on 01 Jul 2016, 09:39 AM

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

4 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 05 Jul 2016, 06:05 AM
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
0
Manu
Top achievements
Rank 1
answered on 05 Jul 2016, 08:15 PM

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

0
Accepted
Danail Vasilev
Telerik team
answered on 07 Jul 2016, 12:55 PM
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
0
Manu
Top achievements
Rank 1
answered on 07 Jul 2016, 02:40 PM
Thank you, that helped.
Tags
Grid
Asked by
Manu
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Manu
Top achievements
Rank 1
Share this question
or