I placed ComboBoxExt (1) with GridList as drop down control.GridList is bound to datatable.
In addition there is simple ComboBox (2) bound to the same datatable. When I change selection in (2) selection is also changed in (1). When I open drop/down in (1) (display GridList) correct line is selected. After I change selected line, selection is changed in (1) only, and after that moment changes done in (2) aren''t reflected in (1).
Basically I need functionality of regular combo box, but to display several columns when combo is dropped down.
Sample is attached.
ADAdministrator Syncfusion Team February 11, 2004 07:07 AM
Thank you for the sample.
The gridlistcontrol is using a different bindingcontext than the listbox or the combobox (which uses the form''s bindingcontext).
To make the gridlistcontrol use the same bindingcontext, you can add this code at the bottom of the form''s constructor.
gridListControl1.BindingContext = this.BindingContext;