@univerjs/sheets v0.5.0-beta.1 • Docs
Function: expandToContinuousRange()
function expandToContinuousRange(
startRange,
directions,
worksheet): IRange
Expand the range to a continuous range, it uses when Ctrl + A , or only one cell selected to add a pivot table adn so on.
Parameters
Parameter | Type | Description |
---|---|---|
startRange | IRange | The start range. |
directions | IExpandParams | The directions to expand. |
worksheet | Worksheet | The worksheet working on. |
Returns
The expanded range.
Defined in
submodules/univer/packages/sheets/src/basics/expand-range.ts:350