I am working in Microsoft Visual Studio Express 2013 with an SQL back end. I have a check-box column in a DataGridView
and I am having a problem where when I change the check state of a check-box in the column the actual code doesn't run until I leave the cell. I tried using the dirty cell state change, but once I do that my code no longer recognizes e.rowindex or e.columnindex. Is there an event I can use that will run code as soon as the check-box is toggled and will still recognize the e.rowindex and e.columnindex code?
Private Sub DGVCutList_CurrentCellChanged(sender As Object, e As EventArgs) Handles DGVCutList.CurrentCellChanged
If e.RowIndex = -1 Then
Exit Sub
End If
end sub