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

Unable to Loop Modified Child Rows and Update Associated Master Row (Batch In-line)

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cory
Top achievements
Rank 1
Cory asked on 05 Sep 2018, 03:58 PM
     I have been trying a number of different ways to batch edit child rows and click one save button to then save those changes locally and update the associated master rows.  I am not using Ajax, ServerOperation is set to false on both grids.  My problem is that upon setting the master row cells, the main grid is refreshed, collapsing all my child rows, losing their edits and ultimately only the first row changes are saved.  Any advice on how to stop this refresh from happening until my loop is complete?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 07 Sep 2018, 10:51 AM
Hi Cory,

As I understand the requirement you would like to save changes in multiple detail Grid components at once. In order to do this you can get reference of the detail grids and call saveChanges for each one. Similar behavior is discussed in the thread below:


In case this approach does not work or your end or you have a different functionality in mind please send us a runnable sample where the problematic behavior is replicated. This will enable us to examine the behavior locally and look for its cause.


Regards,
Viktor Tachev
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
Cory
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or