Home Forums WinForms controls Xceed Grid for WinForms Problem with ComboBox Reply To: Problem with ComboBox

User (Old forums)
Post count: 23064

It could be that you are filtering your view somewhere else in the code. I usually create my DataTable or DataView inside the method used to attach it to the GridComboBox. That way, the DataTable or DataView is discarded (i.e. I can’t “mess up” the contents of the combobox).
And yes, the combobox keeps the data. This is true for all comboboxes.

If you have to filter the ComboBox for adding purposes, you *must* make sure to remove it as soon as possible. Otherwise, the grid cannot perform the lookup required and will display values instead.

Hope this helps.

Imported from legacy forums. Posted by MBonafe (had 357 views)