@univerjs/sheets v0.4.2 • Docs
Function: copyRangeStyles()
function copyRangeStyles(
worksheet,
startRow,
endRow,
startColumn,
endColumn,
isRow,
styleRowOrColumn): IObjectMatrixPrimitiveType<ICellData>
Copy the styles of a range of cells to another range. Used for insert row and insert column.
Parameters
Parameter | Type |
---|---|
worksheet | Worksheet |
startRow | number |
endRow | number |
startColumn | number |
endColumn | number |
isRow | boolean |
styleRowOrColumn | number |
Returns
IObjectMatrixPrimitiveType
<ICellData
>
Defined in
packages/sheets/src/commands/commands/utils/selection-utils.ts:248 (opens in a new tab)