Skip to content

Replies

0
Kunal
Kunal answered on Dec 20, 2012 5:13 PM

Actually I think I can hook into the events, via iggridupdatingeditrowstarting, I will try this. Ignore my last post

0
Kunal
Kunal answered on Dec 20, 2012 3:03 PM

Hi Martin,

Thanks for the reply, I think this will work, but I'm updating some code that is constructing the grid and its various properties in MVC e.g.:

ColumnUpdatingSetting fnSettings = new ColumnUpdatingSetting();
fnSettings.ColumnKey = "FirstName";
fnSettings.EditorType = ColumnEditorType.Text;
fnSettings.Required = true;

Of course when the page renders all this is rendered as javascript, I guess my question is, If we enabled the Updating feature via MVC/Razor can specific update functionality be altered after the grid has rendered. I don't think we can.

It seems like, if I want this conditional edit functionality I will have to move my grid / feature construction to javascript completely so I can gain control. I can't create a GridModel in MVC and then conditionally alter properties via Javascript correct?