DataGridView Cell Validating only when 'Enter' is pressed
- by Eldad
Hi,
I want to validate and commit the value entered in the DataGridViewCell ONLY when the user presses the 'Enter' key.
If the users presses any other key or mouse button (Arrow keys, Pressing a different cell using the mouse...), I want the behavior to be similar to the 'ESC' key: Move the focus to the new cell and revert the edited cell value to its previous value.