in a datagridview, is there a way to add an unbound combo box? in that, you are still able to type in your inputs but also having the ability to choose items from the drop down list?
Printable View
in a datagridview, is there a way to add an unbound combo box? in that, you are still able to type in your inputs but also having the ability to choose items from the drop down list?
The DataGridViewComboBoxColumn doesn't support that. If you want that behaviour then you'd have to inherit the DataGridViewComboBoxColumn, DataGridViewComboBoxCell and (maybe) DataGridViewComboBoxEditingControl classes and provide it yourself.
interesting....thanks :)
Actually, you may be able to handle the EditingControlShowing event and set the DropDownStyle of the EditingControl to DropDown. That's a bit of a hack but it will do the job.