DataGridViewCheckBoxColumn slow respon?

Icecat

Member
Joined
Sep 25, 2007
Messages
18
Location
jakarta
Programming Experience
Beginner
I have an unbound DataGridView in Vb2005 which have DataGridViewCheckBoxColumn. i use DGV unbound because DGV is a detail for a Treeview.

When the check box is checked, I want to add the data in that row into another datagridview. For selection use.

i currently use DGV_CellValueChanged event, and my program in it, compare DataGridViewCheckBoxColumn value with the database. if its not same, then the program will update database with the current value.

but, when a user check the checkbox it does nothing until the user click elsewhere after it.

if i use my program in DGV_mouseup event the checboxcolumn value is not changing.

Anyone got a solution?
 
If you call DataGridView1.EndEdit() in MouseUp event for that column the checkbox value is set.
 
Back
Top