Data editing is allowed if the view's AllowEditing option is set to true and the NavigationStyle property is set to GridViewNavigationStyle.Cell.
Individual columns provide the ColumnBase.AllowEditing property, which allows the default behavior specified by a View to be overridden for individual columns. By default, this property is set to 'Default'. In this instance, the column's behavior is controlled by the View. Setting this property to 'True' or 'False' overrides the default behavior. For instance, you can set the column's ColumnBase.AllowEditing property to 'False', to prevent an end-user from changing its values.
Tip
Set the column's ColumnBase.ReadOnly to true to prevent end-users from editing column values, but allow end-users to select and copy cell text.
To learn more, see Data Editing and Validation.