How to manually drop down a DataGridViewComboBoxColumn?

前端 未结 7 1536
清酒与你
清酒与你 2020-12-01 14:20

I have a DataGridView with one DataGridViewComboBoxColumn in my WinForms application. I need to drop down (open) this DataGridViewComboBoxColumn manually, let\'s say after a

7条回答
  •  长情又很酷
    2020-12-01 14:46

    I have been able to get close to what you're looking for by setting

    DataGridView1.EditMode = DataGridViewEditMode.EditOnEnter
    

    As long as no other cell's dropdown is shown it should display the selected cell's dropdown immediately.

    I'll keep thinking and update if anything comes up.

提交回复
热议问题