Home Forums WinForms controls Xceed Grid for WinForms endedit in non-bound grid not working? C# Reply To: endedit in non-bound grid not working? C#

User (Old forums)
Member
Post count: 23064

Remove the BeginEdit and EndEdit method calls, and it should be working fine.

What is happening is that by calling these methods, the row gets in editing mode, which means that all changes to the row’s values will be coming from the cell editors, and not form the cell values. Thus when leaving this mode, it reverts back to the old value, because none of the editors values changed, only the cell values.

In sum, you don’t need to enter editing mode when changing a cell value through code.

Imported from legacy forums. Posted by André (had 239 views)