Home Forums WinForms controls Xceed Grid for WinForms Detect combobox change Reply To: Detect combobox change

User (Old forums)
Post count: 23064


I figured it out thanks if anyone else has the same problem this is how I did it.

Private Sub ItemChanged(ByVal sender As Object, ByVal e As EventArgs)
Dim Row As Xceed.grid.DataRow = grdItems.CurrentRow
Dim strItemNum As String

‘exit edit mode if in it
If CType(grdItems.CurrentRow, Xceed.Grid.DataRow).IsBeingEdited Then
CType(grdItems.CurrentRow, Xceed.Grid.DataRow).EndEdit()
End If

‘Get the Item Number Selected
strItemNum = Row.Cells(“ItemNumber”).Value

End Sub


Nick Steele

Imported from legacy forums. Posted by Nick (had 444 views)