Home Forums WinForms controls Xceed Grid for WinForms Custom Grid cell – Manually invoke DroppedDown fails Reply To: Custom Grid cell – Manually invoke DroppedDown fails

User (Old forums)
Member
Post count: 23064

The problem is that you are trying to show the dropdown control on the template. You need to do this on the actual instance of the editor.

So replace this :

((Xceed.Grid.Editors.ComboBoxEditor)myCell.CellEditorManager).TemplateControl.DroppedDown = true;

By this :

( ( WinComboBox )myCell.CellEditorControl ).DroppedDown = true;

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