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

Save and Edit button outside the Grid Detail

1 Answer 437 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Penny
Top achievements
Rank 1
Penny asked on 02 May 2019, 03:11 AM

https://demos.telerik.com/kendo-ui/grid/detailtemplate

 

as above url: Grid / Detail template:

Actually, we have a kendo-grid: 10 master-items, and each master item has its detail.

 

Questions:

1.just one edit button outside the grid , could it edit total details of 10 master-items ? 

2.just one save button outside the grid, could it save total modified detail of 10 master-items? 

 

where to find the sample code or how to do?

thanks a lot 

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 03 May 2019, 03:23 PM
Hello, Penny,

The Kendo UI Grid supports three types of edit modes - inline, incell and popup.

What you would like to do - i.e. put 10 * n number of detail rows in edit mode at the same time is not built-in. We do have a demo that demonstrates how to edit all rows in a grid by providing a column template here:

https://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Editing/grid-editors-in-column-templates

In regards to saving the grids, you would need to get the data source instance of each of them and call the sync() method of the data source:

https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/sync

Let me know in case you run into any struggles.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Penny
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or