Function: expandToContinuousRange()
function expandToContinuousRange(
startRange,
directions,
worksheet): IRange
Defined in: submodules/univer/packages/sheets/src/basics/expand-range.ts:350
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.