Development and Programming
C# and .NET
How to show the dropdown of a DataGridViewComboBoxColumn cell with a single click?
I have a DataGridViewComboBoxColumn column in a DataGgridView table, by default I have to click twice on the combo box drop down arrow to get the drop down list to appear -- what's happening as near as I can tell is that the first click selects the row, and the second click is delivered to the combo box,
Is it possible to modify this behavior so that a single click both selects the row and drops down the combo box?
There is property of DataGridView EditMode, and default value is EditOnKeystrokeOrF2. If you choose EditOnEnter then when you click cell with ComboBox only once you will get dropdown.
© 2019 Digcode.com. All rights reserved.