windowsforms-819-controls-and-libraries-data-grid-end-user-capabilities-end-user-capabilities-navigating-through-rows-and-cells.md
To move focus between cells and rows use the ARROW, TAB, HOME, END, PAGE UP and PAGE DOWN keys. Note that the ARROW, HOME and END keys are used for navigation between rows/cards only when the focused cell is not being edited. Othewise, these keys affect focus movement within the currently edited cell.
Do one of the following to focus the next cell :
- If a cell editor is active, pressing RIGHT ARROW moves focus to the next cell if the caret is positioned at the end of the current cell’s text or if the cell’s text is selected in its entirety.
- If the last row cell is focused, the selection moves to the first cell of the next row. Disable the GridOptionsNavigation.AutoMoveRowFocus property to keep the selection on the current row.
Do one of the following to focus the previous cell.
- If a cell editor is active, pressing LEFT ARROW moves focus to the previous cell if the caret is positioned at the beginning of the current cell’s text or if the cell’s text is selected in its entirety.
- If the first row cell is focused, the selection moves to the last cell of the previous row. Disable the GridOptionsNavigation.AutoMoveRowFocus property to keep the selection on the current row.
Tip
Use the OptionsColumn.TabStop property to specify whether column cells can be focused via the TAB key. This setting is supported in the GridView, BandedGridView, AdvBandedGridView classes, and their descendants.
To focus the first cell within the current row in Grid Views, press HOME.
To focus the last cell within the current row in Grid Views, press END.
To focus the first row/card :
To focus the last row/card :
Do one of the following to move focus to the Auto Filter Row displayed at the top of a Grid View.
Press CTRL+TAB.
See Also
End-User Capabilities: Locating Rows Using Incremental Search