@univerjs/sheets v0.5.0-beta.1 • 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
submodules/univer/packages/sheets/src/commands/commands/utils/selection-utils.ts:248