Commit changes for numericUpDown cell

Mar 13, 2009 at 6:05 PM
Hi there,

First of all thank you for great job! I am using Source Grid in one of my projects where I needed full control over the grid.
I have little problem tho...
I am using NumericUpdown editor and I have a button "Save" placed on the form.
When user click save button I am iterating all cells in the grid and update database with new entered data
Everything runs as supposed except if user still have the last edited cell in Edit mode (NumericUpDown control is visible).
In that case the cell still contains old data (or empty)
Is there a way to force all sells that in edit mode to commit the changes?
something like calling myGrid.EndEdit() or similar would be  very helpfull


Mar 13, 2009 at 9:08 PM
You can call EndEdit(bool cancel) on CellContext