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

Freezing a DevExpress XtraGrid Column

DevExpress XtraGrid Cell Text Settings by Column

DevExpress XtraGrid Display Count

Displaying The DevExpress XtraGrid Footer

DevExpress XtraGrid Column Header Height Adjustment