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

Xceed Support
Post count: 5658

Hi Nigel,

It is not possible to set a default value on a ComboBoxViewer in a straight-forward way.

You can create a custom Viewer by deriving from ComboBoxViewer; in your Viewer, you can test if the value is null (that is, an edit process did not yet occur), then display the text you want. However, this has to be done inside a GUI event.

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