Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Allow edit in AddRow but not on the existing rows
posted

I have an UltraGrid bound to a DataTable with AllowAddNew = AllowAddNew.TemplateOnBottom.  I have a column with an EditorComponent of UltraComboEditor and another column with EditorComponent of UltraTextEditor.

It should NOT allow editing of existing rows.  I can accomplish this by disabling updating, HOWEVER, this is also disabling the AddNew template which is no longer editable so no new values can be selected for the new row.  Is there a way to keep the AddNew template row editable but disable editing on the rest of the grid?  Why are those not separate?  I'm not sure what combination of settings to add here and I have tried several.  I even tried the BeforeCellActivate method with IgnoreRowColActivation = true on the specific columns but no success.

Thanks