Home Forums WinForms controls Xceed Grid for WinForms Select comboboxEditor

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #15991 |

    I am adding a combo box to a cell in the grid when the user clicks on a button outside the grid. My code:

    ComboBox = New ComboBoxEditor()

    xg.DataRows(0).Cells(“column1”).CellEditorManager = ComboBox

    ComboBox.TemplateControl.DropDownSize = New Size(100, 150)

    This works fine; however, the user then has to click the grid-cell to see the combobox.
    How can I get the combo box to display without having to click on the cell.

    vb.net please.

    Thanks in advance.

    Imported from legacy forums. Posted by troy@querytool.com (had 2056 views)

    Xceed Support
    Post count: 5658

    You have to set the cell to Edit mode. After, use the ActivatingControl event on the CellEditorManager to open the DropDown of the ComboBox.

    Imported from legacy forums. Posted by CharlesB (had 2929 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.