PDA

View Full Version : [CLOSED] Inline Editing In Grid Panel using Asp.net MVC razor engine



PriceRightHTML5team
Aug 19, 2013, 1:28 PM
Hi,

I have a grid which contains edit link on each record, my requirement is when user click on edit link, the grid row should become editable & edit link should get hidden & Update and Cancel button should get displayed in place of edit.

I have refer the below link, but it is in asp.net and my requirement is in ASP.net MVC that why i am unable to achieve the above functionality
http://forums.ext.net/showthread.php?24014-CLOSED-Inline-editing-in-GridPanel

So, can give me simple example in Asp.net MVC

Please refer attachment for more details

Vladimir
Aug 19, 2013, 1:46 PM
What exactly problems with MVC implementation do you have? MVC implementation should not be much different
Also please see the following MVC sample
http://mvc.ext.net/#/GridPanel_ComponentColumn/Pin_Editor/

PriceRightHTML5team
Aug 19, 2013, 2:04 PM
What exactly problems with MVC implementation do you have? MVC implementation should be much different
Also please see the following MVC sample
http://mvc.ext.net/#/GridPanel_ComponentColumn/Pin_Editor/

Hi,

I have tried pin editor example also, it worked to some extent, In pin editor when we move cursor on record, the edit option is appearing but my requirement is edit option should be visible permanently to user and after clicking on edit option, Update & Cancel option should get available.

Please refer attachment in my previous post.

Thanks

Vladimir
Aug 19, 2013, 2:40 PM
my requirement is edit option should be visible permanently to user

Just remove ".OverOnly(true)" for ComponentColumn (last column with button)



after clicking on edit option, Update & Cancel option should get available.

In this case, I can suggest RowEditor only because ComponentColumn editor updates record field immediately, like in the following sample
http://mvc.ext.net/#/GridPanel_Update/Restful/