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

Grid in detail not updating for inline edit

2 Answers 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 19 Jun 2015, 01:58 PM

I've got a Kendo Grid, which has another Kendo Grid within its detailTemplate. Both grids are editable.

If I set the child grid to editable: 'popup' then things seem to work as expected.

But if I set it to editable: 'inline' then the Save event for the child grid never fires.

I've created a plunkr to show this: http://plnkr.co/edit/l189m5dAN6Wptt94zjbu?p=info

Run as it is, "detail save" is never written to the console.

Change the detail to editable: 'popup' and it is.

Am I doing something wrong?

2 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 23 Jun 2015, 11:35 AM
Hello Simon,

The reason for current behavior is that the child Grid updates the parent model which automatically triggers the "dataBound" event and redraws the parent Grid. Possible solution (if you need to use the "inline" edit mode) is demonstrated in the following demo:
Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Simon
Top achievements
Rank 1
answered on 23 Jun 2015, 01:43 PM
Thanks, that seems to have done the trick. Now all I have to do is work out what the code is doing!
Tags
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Simon
Top achievements
Rank 1
Share this question
or