Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1176
exit row edit mode
posted

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

 

Dim aUIElement As UIElement = Me.dgvMissingCategories.DisplayLayout.UIElement.ElementFromPoint(New Point(e.X, e.Y))

 

' Declare and retrieve a reference to the Cell

 

 

 

 

 

 

 

 

 

End If End If

 

End Sub

 

 

If Not aCell Is Nothing Then

 

If aCell.IsInEditMode Then

 

'aCell.() exit edit mode ????Dim aCell As UltraGridCell = aUIElement.GetContext(GetType (UltraGridCell))

 

' If a cell was found display the band and column key

Parents
No Data
Reply Children
No Data