DataGridView tab order

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
 
C

Christoffer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top