WarUI

Keyboard Navigation While Editing

GRID-A14-F03P0baselinePlanned

Defines where focus goes after a commit. Enter moves down, Shift+Enter moves up, Tab moves to the next editable cell and Shift+Tab moves to the previous one. Fast entry depends on moving between cells without the mouse.

Planned. This page shows the specification from issue #193. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with 6 columns. Two of them are read-only and placed between editable columns.

Expected behavior

After a commit, focus moves according to the settings. With 'keep editing' on, the next cell opens its editor automatically. Tab skips read-only cells in 'editableOnly' mode and wraps to the next row at the end of a row.

Planned API surface

enterNavigation: 'down'|'right'|'none'tabNavigation: 'editableOnly'|'all'keepEditingOnNavigateonCellFocused

Acceptance criteria

  • Enter commits the edit and moves focus according to enterNavigation. (pending)
  • Tab commits the edit and moves to the next editable cell, wrapping across rows. (pending)
  • Shift+Tab moves backward, including wrapping to the previous row. (pending)
  • When keepEditingOnNavigate is true, the target cell is in edit mode. (pending)
  • Tab out of the last editable cell of the last row moves focus out of the grid. (pending)