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 Text Color by Column

DevExpress XtraGrid Cell Text Settings by Column

Automating DevExpress XtraGrid Column Width

Getting Value of DevExpress XtraGrid Column

DevExpress XtraGrid Row Header Invisible