Link to home
Start Free TrialLog in
Avatar of BlearyEye
BlearyEyeFlag for United States of America

asked on

Completing cell edit in DataGridView

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?
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Cool, glad you found an answer  :)
Avatar of BlearyEye

ASKER

It pointed me in the right direction but needed more