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

[Solved] Batch saving Kendo Hierarchical grid

1 Answer 166 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 30 Jan 2015, 03:27 AM
Hi,  I have a problem saving hierarchical grid data using kendo grid. For instance, I will create new record having create new button provided by batch edit. Then expanded the row to add its details. The details also is a grid in which coming from another data source, also with create new button for it. Once I completed my inputs, I don't want to use the save changes button in the sub grid, but instead using the save changes button of the parent grid. But the problem is only the parent row data was recorded. How can I possibly get those sub details manually so that I could set it to the parent details before saving.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 03 Feb 2015, 07:24 AM

Hello Ryan,

 

Your scenario is not supported as a built-in feature of the Kendo UI Grid. This is why you will need to handle the functionality manually. You need to create your own save changes button that will create a new model of the grid and save it using the dataSource. Please check the following API articles that should help you:

 

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource

 

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Ryan
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or