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 | undefined): void

Parameters:

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

Returns: void