Re: Setting Selected Index on DataGridView Combobox
As far as I'm aware, you can't change the tab order of cells in a DataGridView - the DataGridViewCell does not have a TabIndex property to start with.
Is there any reason you wish to do so - I can't think of a situation where you want to go in any other order than Row and Columns or Columns and Rows...
Help from me is always guaranteed!*
VB.NET code is made up on the spot with VS2008 Professional with .NET 3.5. Everything else is just made up on the spot.
Please Remember to rate posts, use code tags, send me money and all the other things listed in the "Before you post" posts.
One way is that you try to capture KeyDown event on DataGridView and then manipulate the CurrentCell using Hannes idea. The other way might be to override 'ProcessCmdKey' method on grid.
Bookmarks