Completing cell edit in DataGridView
Posted on 2010-11-14
I'm using c# 4.0. I have a DataGridView on a form.
When the data changes (via CellValueChanged), a Save button is enabled that lets the user save, after which the button is disabled.
However, the user can type something into a cell but leave the cursor in the cell; effectively not committing the cell (CellValueChanged does not fire). Is there some way I can shift the mode from cell editing so that the value is committed when Save is clicked?