The Grid component supports the following keys and key combinations:
The following plugin implements keyboard navigation:
Note that plugin order is important.
Import the TableKeyboardNavigation
plugin to enable keyboard navigation.
In uncontrolled mode, specify an initially focused cell via the TableKeyboardNavigation
plugin's defaultFocusedCell
property.
In controlled mode, pass a focused cell to the TableKeyboardNavigation
plugin's focusedCell
property and handle the onFocusedCellChange
event to control the focused cell externally.
To apply a specific style to the row that contains the focused cell, set the focusedRowEnabled
property to true.