I have a DataGridView, which has two columns and several rows. The first column has the names of some attributes of an object and the second one should be filled with values by the user.
How can I get the second column of a selected row automatically in editmode independent of the column, which is entered to select the row?
This means, if a row is selected it should be immediately possible to enter some values into the second column of that specific row, even if the row is selected by entering the first column of the row.
By now, the first column has the property DataGridRowColumns.ReadOnly = true
and the second one has DataGridViewColumn.ReadOnly = false
. The grid has the following properties: DataGridView.MultiSelect = false
and DataGridView.SelectionMode = FullRowSelect
.