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

[Solved] Update row on row exit

4 Answers 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew Johnson
Top achievements
Rank 1
Matthew Johnson asked on 02 Nov 2009, 05:40 PM

I have a hierarchal grid with two levels (master and details).  When a master level record is expanded all detail records are automatically put into Edit mode.  As the user tabs through each detail record I would like to save their work automatically (no mouse clicks, no enter key).  When the user exits the row the record is saved.  

This is going to be a high speed data entry application and mgt does not even want to display the update/cancle buttons on each detail record.

 What would be the best method for achieving this?

4 Answers, 1 is accepted

Sort by
0
Matthew Johnson
Top achievements
Rank 1
answered on 03 Nov 2009, 05:22 PM
ok after doing a lot of digging, there doesn't seem to be an easy way to do this.  I looks like I'm going to have to use a template edit form and attempt to hook onblur events and call the db update.

Any other ideas.
0
Iana Tsolova
Telerik team
answered on 04 Nov 2009, 01:42 PM
Hello Matthew,

I suggest that you check out this code library on editing records on row double click in hierarchical grid. You can see how the changes are tracked for the edited items and try implementing it in your scenario.

Best wishes,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Matthew Johnson
Top achievements
Rank 1
answered on 04 Nov 2009, 01:54 PM
That's not what is wanted.  The app requires no mouse click to edit the record.  Currently I'm exploring code from the code library to directly edit a cell, without placing the entire row in edit mode.

Thanks
0
Iana Tsolova
Telerik team
answered on 05 Nov 2009, 11:53 AM
Hello Matthew,

I assume that in the mention code library you can find useful the code for tracking changes for the editable inputs. And thus implement your logic on with items to update and which not to.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Matthew Johnson
Top achievements
Rank 1
Answers by
Matthew Johnson
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or