Set ReadOnly property to a column of devexpress grid(MVC) only on edit click
问题 I have a devexpress grid in my partial view, Each row of the grid has an add, update and delete button. When clicked on update of the particular row, a form pops down which contains all the columns of the grid. Now i want to set the readonly property of one of the columns to true, which i did by column.ReadOnly = true; But what this does is sets the column to readonly always i.e. even during New Click. Where as i want this readonly property only during edit click. here is my devexpress grid