hi i have a wingrid where checking a check box on a column i specified if row it's going to be copied to another table but when i check the row for copy stays the row on edit mode so when i press the copy button copy everything excepts the last row i mark for copy, im using the next code to exit the row from edit mode but something and the most importnat part is missing
please help
Private Sub dgvMissingCategories_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles dgvMissingCategories.MouseUp
' Declare and retrieve a reference to the UIElement
End If End If
You can call grid.UpdateData to commit the changes to the current row.
You could try setting the gird UpdateMode to OnCellChangeOrLostFocus. I had to do something similar for a project I'm working on because the users wanted to see the updates immediately after each column change instead of waiting until the row lost focus.