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

[Solved] Grid Inline Edit

3 Answers 206 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sam
Top achievements
Rank 2
Sam asked on 14 Nov 2011, 06:30 PM
I need help figuring out how to do inline editing where you click on a cell, edit and then when you leave the cell/row it updates with out having those Edit/Update/Cancel buttons.

I have looked at the batch editing, but that is not quite what I want to do.

I have figured out how to get into edit mode on click, but it seems without the Update button per row, it will not submit the changes.

Thanks in advance,
Sam

3 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 2
answered on 16 Nov 2011, 08:06 PM
Anyone? This has to be simple to do, or are you stuck with the Command Column(s) to force an update/save?
0
Sam
Top achievements
Rank 2
answered on 18 Nov 2011, 10:18 PM
Telerik, please answer this for me.

Is there any other way besides the "Update/Cancel" command columns to save/cancel inline editing?

You should be able to enter edit mode on click, and post the update on blur... Very simple requirement in a business environment.

I hope so, otherwise this is a deal breaker! Please help me out!

Thanks,
Sam
0
Petur Subev
Telerik team
answered on 22 Nov 2011, 02:22 PM
Hi Sam,

Generally speaking the Grid component does not support this out of the box. To achieve it you will need to use the OnSave client event to manually "tell" the Grid to submit its changes.
I attached a sample project implementing this custom functionality. I hope this helps.

Kind regards,
Pesho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Sam
Top achievements
Rank 2
Answers by
Sam
Top achievements
Rank 2
Petur Subev
Telerik team
Share this question
or