There are more than one way to do this, and it may be different if you are bound or not.
Basically, you don’t need to use a ComboBoxViewer in this case, since it is a simple string that is displayed when the cell is not in edition. You can do something like the following, and it should work :
comboBox = new WinComboBox();
comboBox.Items.Add( “Yes” );
comboBox.Items.Add( “No” );
gridControl1.Columns[ “YesNoCol” ].CellEditorManager = new ComboBoxEditor( comboBox );
Imported from legacy forums. Posted by André (had 3346 views)