Link to home
Start Free TrialLog in
Avatar of Jess31
Jess31

asked on

DataGridView Events ?

Using vb.net and datagridview.
The DataGridView is bound to a DataTable. I have a CheckBox column bound to this table. What event will trigger after the bound data has been updated? I tried CellEndEdit and CellValuePushed but it seems to rigger before the Table has the new value. I tried CellEndEdit but that does not trigger after chaning the CheckBox value, I have to move to another Cell for that to trigger.
Avatar of Jeff Edmunds
Jeff Edmunds
Flag of United States of America image

I'm wondering if it might be that you need to handle the updating of the bound DataTable, rather than the DataGridView. If so, there is a list here which describes the order of events for a DataTable.

If it is definitely the events on the DataGridView that you need to handle, there is a good article here which outlines the event sequences for DataGridView objects.
ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
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
Avatar of Jess31
Jess31

ASKER

Grid.EndEdit was that I was looking for Thanks