Home Forums WinForms controls Xceed Grid for WinForms Update after editing of a cell doesn’t seem to happen Reply To: Update after editing of a cell doesn’t seem to happen

User (Old forums)
Member
Post count: 23064

Thanks for trying to help me.

First, I’ve tried that, but the <b>ValidationError</b>-event is never fired.

Secondly, I’ve tried to catch the <b>LeaveEdit</b>-event of the cell, to see if the editor passes the right value back to the cell, but that seems to work right.

Thirdly, I’ve tried to catch the <b>ValueChanging</b>-event and the <b>ValueChanged</b>-event.
When I leave the cell-editor, the <b>ValueChanging</b>-event is fired once, with <b>e.NewValue</b> containing the correct value.
After that, the <b>ValueChanged</b>-event is fired twice. In the first <b>ValueChanged</b>, the value in the cell is the new, correct value. In the second (unexpected) <b>ValueChanged</b>, the value has changed to the old value, without <b>ValueChanging</b> being fired again.

Any ideas?

Imported from legacy forums. Posted by Tommy (had 278 views)