DevExpress XtraGrid Clicking Cells to Edit

To be able to click and edit cells in DevExpress XtraGrid, the following steps must be followed.

  • 1 - "Run Designer" opens.
  • 2 - "OptionsBehavior" opens.
  • 3 - Set the "Editable" property to "True".
  • 4 - Set the "EditingMode" property to "InPlace".
  • 5 - Set the "ReadOnly" property to "False".

An example of setting it as code is given below..


myListGridView.OptionsBehavior.Editable = true;
myListGridView.OptionsBehavior.EditingMode = GridEditingMode.Inplace;
myListGridView.OptionsBehavior.ReadOnly = false;       



You May Interest

DevExpress XtraGrid Setting Cell Color by Column

DevExpress XtraGrid Cell Text Settings by Column

Putting Multi Selection and Checkbox Columns in DevExpress XtraGr ...

Automating DevExpress XtraGrid Column Width

DevExpress XtraGrid Setting Color of Selected Row