Skip to content

TableEditor.updateCell method

TableEditor › updateCell

Unofficial

Update a cell's text and re-pad every cell in its column to the new width.

Signature:

updateCell(cell: TableCell, text: string): TableCellChange[]

Parameters:

ParameterTypeDescription
cellTableCellThe cell to update.
textstringThe new text content.

Returns: TableCellChange[]The document changes needed, relative to the start of the table.