Home Forums WinForms controls Xceed Grid for WinForms Using a ComboBox as Editor in a Grid Reply To: Using a ComboBox as Editor in a Grid

User (Old forums)
Member
Post count: 23064

This works fine.  The problem is the way you do the binding :

new ComboBoxEditor(_listPartyType, “DisplayValue”, “ID”, “%DisplayValue%”);

should be :

new ComboBoxEditor(_listPartyType, string.Empty, “ID”, “%DisplayValue%”);

The problem is that the ComboBox tries to bind to the “DisplayValue” property on the BindingList<> class, which it does not find.

 

Imported from legacy forums. Posted by André (had 823 views)