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

Setting DevExpress XtraGrid Row Height

DevExpress XtraGrid Setting Cell Text Color by Column

DevExpress XtraGrid Selecting Only Cell on Row Click

Displaying The DevExpress XtraGrid Footer

Getting Value of DevExpress XtraGrid Column