Home Forums WinForms controls Xceed Grid for WinForms ComboBox with associated data Reply To: ComboBox with associated data

User (Old forums)
Member
Post count: 23064

My problem is that “New Value” needs to come from the TestComboBox that the user used to change the “Status” description cell.  I don’t know how to get the associated data (ItemData) from the combo box the user used to select the “Status”.

Dim Cell As
Cell = CType(sender,
Cell)

ListBoxData
= CType(Cell.Value,
ListItem)

Cell.ParentRow.Cells(“StatusID”).value = ListBoxData.ItemData

The only value that matters is the StatusID (which is a number).  The Status cell is used to provide the user with a description of what this StatusID number represents. 

 

Imported from legacy forums. Posted by Morgan (had 454 views)