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

Change autoSync behavior when creating a new row

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Evyatar
Top achievements
Rank 1
Evyatar asked on 02 Jul 2015, 07:53 AM

If I am in autoSync mode and try to add new row I see that the grid send a HTTP POST with empty fields
So I changed the mode to batch
Now I want the grid to save the new row only after I Presses the “Save changes” button.

For all the other rows in the grid I want the grid to send the data when I select other row
not only by Pressing the “Save changes” button.

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 06 Jul 2015, 06:44 AM

Hello Evyatar,

The behavior is not supported out of the box. A possible solution would be to set the autoSync to false and manually invoke the saveChanges method of the Grid API only when needed.

Regards,
Dimiter Madjarov
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
Evyatar
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or