DataGridView tab order

  • Thread starter Thread starter Christoffer
  • Start date Start date
C

Christoffer

Hello, I have a DataGridView with several columns. I would like to change
the tab order for the columns but I can not find a way to do this. There is
no property to set the tab order. I could listen for the tab-keypress but I
can not find a method setting focus on a specific cell in the DataGridView.

What I really would like to do is to skip a column when using Tab to
navigate the grid. Is this possible at all?

Cheers,
Chris
 
Mark at MSDN Product Feedback Center suggested that I process the tab key in
the key down/press/up event and manually set the CurrentCell property.
Cheers for that but the key down/press/up event is not fired when pressing
tab during cell editing.

Is there another event that is fired when pressing tab during cell editing
(thus exiting cell editing and moving the next column)?

Cheers,
Chris
 
Back
Top