Skip to main content
A newer version of this page is available. .

Navigating Through Rows and Cells

  • 2 minutes to read

DevExpress WPF controls’ navigation keys can help you move faster and more precisely around a grid of any size.

Task

How to do

Move focus between cells and rows

Use the Arrow, Tab, Home, End, Page Up and Page Down keys.

Note

The Arrow, Home and End keys are used to navigate between rows/cards only when the focused cell is not being edited. Otherwise, these keys affect the caret position in the edited cell.

Focus the next cell

  • Press TAB.
  • or in Table Views, press the Right Arrow. In Card Views, press the Down Arrow. If a cell editor is active, press the Right Arrow to move focus to the next cell if the caret is at the end of the current cell’s text. This shortcut also works when you entirely selects the cell’s text.

Focus the previous cell

  • Press Shift+Tab.
  • or in Table Views, press the Left Arrow. In Card Views, press the Up Arrow. If a cell editor is active, press Left Arrow to move focus to the previous cell if the caret is at the beginning of the current cell’s text. This shortcut also works when you entirely selects the cell’s text.

Focus the first cell in the focused row

Press Home (in Table Views)

Focus the last cell within the focused row

Press End (in Table Views)

Focus the first row/card

  • Press Ctrl+Home in Table Views.
  • or press Home or Ctrl+Home in Card Views.

Move focus to the Automatic Filter Row at the top of a Table View

Do one of the following:

  • Click this row.
  • or if the top data row is focused, press Ctrl+Up Arrow.

Set the Enter key behavior

Use the DataViewBase.EnterMoveNextColumn property. If it is true, pressing the Enter key closes the focused cell’s editor (if it is active) and saves the changes, moves focus to the next cell in the row and activates its editor.