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
135
igGrid - readonly attributes for updating a record, non-readonly attributes for adding a record
posted

Hello Infragistics community, 

Im using an ASP.Net MVC igGrid. I want my grid to have following behaviour. If I add a new record to my igGrid, i want all my attributes / columns of my grid to be editable. 

When i want to update a record of my igGrid, i want some  attributes / columns to be readonly. I have tried setting some of my columns to read only. This solved my problem

when i want to update a record. But when i want to add a record, theses attribtes are now readonly. 

ReadOnly on columns

Is there a way to set the read only attributes separately for adding and editing a record?

thank you very much for the help.