Skip to content

TableEditor.getNextCell method

TableEditor › getNextCell

Unofficial

Get the next cell in the given direction, wrapping across rows.

Signature:

getNextCell(cell: TableCell, direction: CellDirection): null | TableCell

Parameters:

ParameterTypeDescription
cellTableCellThe reference cell.
directionCellDirectionDirection to navigate.

Returns: null | TableCellThe next cell, or null if at the boundary.