How to split grid into parent and child after saving the data into database.

0 Answers 122 Views
Grid
Shruti
Top achievements
Rank 1
Shruti asked on 09 Aug 2022, 05:05 PM
Consider I am having a parent grid with columns:
A, B, C, D, E, F

So once the data will be saved in database for the specific row. I want to split the values for the record into parent and child
Now parent grid will have A,B and C column
And child will have D, E, F.

And then when I will try to add more records in child it will add new row in database with constant value of A, B, C and new values of D, E and F.
How should I do this implementation.
Georgi Denchev
Telerik team
commented on 12 Aug 2022, 12:48 PM

Hello, Shruti,

You can try to utilize the approach described in the following KB article:

https://docs.telerik.com/kendo-ui/knowledge-base/grid-add-hierarchy-runtime 

It shows how you can create a hierarchy dynamically, after the Grid has been initialized.

Best Regards,

Georgi

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Shruti
Top achievements
Rank 1
Share this question
or