I need to be able to edit the contents of a datagridview combobox cell or select one of the items in the dropdown list. If I understand the following statement from MSDN,
I should be able to do it:
The DataGridViewComboBoxCell class is a specialized type of DataGridViewCell used to display a combo box control, which is an editing field combined with a list selection field. The currently selected DataGridViewComboBoxCell hosts a DataGridViewComboBoxEditin
gControl in which the user can change the cell's value, assuming the cell's ReadOnly property is set to false.
I have set each cell's ReadOnly value to false using the following code,but it still only allows me to select from the dropdown list.
For I = 0 To .RowCount - 1
.CurrentCell = Me.dgvStrataBdry(3, I)
.CurrentCell.ReadOnly = False
Am I misunderstanding that it should allow editing or just doing it wrong.