Home Forums WinForms controls Xceed Grid for WinForms ValueMember in bound ComboBox Reply To: ValueMember in bound ComboBox

Xceed Support
Member
Post count: 5658
Hi,
 
I presume the cell that you want to set the ComboBox on already contains the “Key” for that ComboBox. 
 
Yes, you are right for your question that setting the combobox as you mentioned will make it write back the “key” to the cell and not the description. If your cell contains the description from the beginning, then you should put the value member of the combo box to be the description also.

Did you put any viewer on that column ? ( because from what I’m reading i’m not sure if you have used one or not )

If you could provide a sample, It will help a lot to understand faster what exactly is your datasource.


Imported from legacy forums. Posted by Alain [Xceed] (had 236 views)