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 Row Header Invisible

DevExpress XtraGrid Cell Information Horizontal Alignment Adjustm ...

DevExpress XtraGrid Setting Cell Text Color by Column

Freezing a DevExpress XtraGrid Column

DevExpress XtraGrid Setting Color of Selected Row