GridNavigation
Properties
5
Properties
5Class hierarchy
Other
CSS selector for currently focused cell. Format is "[data-index=index] [data-column-id=columnId]".
Grid GridLocation which encapsulates the currently focused cell. Set to focus a cell or use focusCell.
This property is true if an element within a cell is focused.
Functions
7
Functions
7Navigates to a cell and/or its row (depending on selectionMode)
| Parameter | Type | Description |
|---|---|---|
cellSelector | GridLocationConfig | GridLocation | Cell location descriptor |
options | Object | Modifier options for how to deal with focusing the cell. These are used as the scrollTo options. |
options.scroll | BryntumScrollOptions | Boolean | Pass |
A GridLocation object representing the focused location.
Checks whether a cell is focused.
| Parameter | Type | Description |
|---|---|---|
cellSelector | GridLocationConfig | GridLocation | String | Number | Cell selector { id: x, columnId: xx } or row id |
true if cell or row is focused, otherwise false
Called by the RowManager when the row which contains the focus location is derendered.
This keeps focus in a consistent place.