views:

322

answers:

1

I am using DevExpress Xtragrid control in my C#.net windows application.

I enter some value into the first cell of the grid and if i go to second cell , the value entered in the first cell disappears.

How to retain the value entered in the cell ?

+1  A: 

Few possibilities:

  • check FieldName property of edited column. Maybe there is a typo, so grid does not pass your entered value to underlying datasource
  • property that is bound to column must have public setter. If there is only getter, grid also won't be capable to store entered value
  • check ColumnOptions.ReadOnly property in grid column - must be set to false

Hope this helps

Przemaas