Skip to content

TableEditor.selectCells method

TableEditor › selectCells

Unofficial

Select the rectangular range of cells between an anchor and a head.

Signature:

selectCells(anchor: TableCell, head: TableCell, force?: boolean): void

Parameters:

ParameterTypeDescription
anchorTableCellThe anchor cell of the selection.
headTableCellThe head cell of the selection.
force?booleanWhether to update the selection even if it did not change.

Returns: void