Home Forums WinForms controls Xceed Grid for WinForms trouble using GridComboBox as CellViewer Reply To: trouble using GridComboBox as CellViewer

User (Old forums)
Member
Post count: 23064

Adam,

I filed this problem with xceed support back in 2005 and it is working now.
Here is the reply,

“The implementation of the ICellViewer interface on the gridComboBox makes it paint only the display member in the cell instead of drawing the whole control.

If you want to always see the dropdown arrow event when the cells is not being edited, you will have to wrap your gridComboBox inside a ControlViewer.”

And that will be like,

GridComboBox _gridViewer = new GridComboBox();
detail.Columns[0].CellViewer = new ControlViewer(_gridViewer,”Text”);

cheers

Imported from legacy forums. Posted by userX (had 527 views)