0
Answer

DataGridView - Advance to next cell

crausch

crausch

16y
3.3k
1

I am currently having the user of my application enter some data into a dataGridView control. One of my columns is set to read only. When the is "tabbing" though the grid from cell to cell, I would like to have the focus skip to the next editable cell whenever the readonly cell gains focus. I have tried using the "CellEnter"event and then I check the current column index I can find out when they have entered the read-only cell but I cannot figure out how to force the focus to move onto the next cell in the row.

Any solutions would be appreciated!