Back to Devexpress

How to: Move Focus to a Specific Column

windowsforms-3064-controls-and-libraries-data-grid-examples-navigation-and-selection-how-to-move-focus-to-a-specific-column.md

latest385 B
Original Source

How to: Move Focus to a Specific Column

  • Nov 13, 2018

The example shows how to move focus to a specific column at runtime.

csharp
advBandedGridView1.FocusedColumn = advBandedGridView1.Columns["Country"];
vb
AdvBandedGridView1.FocusedColumn = AdvBandedGridView1.Columns("Country")