@univerjssheetsindexfunctionsAligntomergedcellsborders

@univerjs/sheets v0.5.0-beta.1Docs


Function: alignToMergedCellsBorders()

function alignToMergedCellsBorders(
   startRange, 
   worksheet, 
   shouldRecursive): IRange

Adjust the range to align merged cell’s borders.

Parameters

ParameterTypeDefault value
startRangeIRangeundefined
worksheetWorksheetundefined
shouldRecursivebooleantrue

Returns

IRange

Defined in

submodules/univer/packages/sheets/src/commands/commands/utils/selection-utils.ts:34