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

How to handle blur for a grid cell

1 Answer 660 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 30 Sep 2015, 03:06 PM

Hello,

 I have the dojo here. http://dojo.telerik.com/IfIbo

When I click on Edit, I want to tab over each cell and save the values instead of saving the values on clicking on Update. Actually I want to hide the "Update" and "Cancel" button when the user clicks on "Edit".

I have the following approaches. not sure which one is possible.

1) Is it possible to have an EditItem template so that when the user clicks on "Edit", the whole record gets updated with the "EditItemTemplate" for all the columns for that particular row. 

2) Is it possible to have a blur event for each cell?

 Thanks.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 02 Oct 2015, 11:51 AM

Hello Balaji,

 

When user tabs over the cells inside the row in edit mode the underlying model is updated out of the box. When user is ready with the editing you can call the Kendo UI DataSource sync method in order to sync changed made on the client-side with the server. 

 

Regards,
Boyan Dimitrov
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
Balaji
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or