I want to programmatically navigate to a cell within a dataGridView and once navigated there, I want the cursor to appear such that the cell is automatically in edit mode. Just as if the user mouse clicked on the cell just before beginning their editing of the data in the cell.
I can set the current cell using the following if I want to navigate to the "LastName" cell in the first row:
It navigates to the row but the cell is not in edit mode as if somebody clicked on the cell. I have the editMode set to "editOnEnter". Any ideas?
I can set the current cell using the following if I want to navigate to the "LastName" cell in the first row:
Code:
personnelDataGrid.CurrentCell = personnelDataGrid.Rows(0).Cells("LastName")
It navigates to the row but the cell is not in edit mode as if somebody clicked on the cell. I have the editMode set to "editOnEnter". Any ideas?