Adds listeners to the selection.
The listeners to add.
Optional
options: IListener.OptionsOptions for the listeners.
A function to remove the listeners.
Appends a selection to the current selection.
The start cell.
Optional
end: IRange.CellCoordsThe end cell. Default is the start cell.
Optional
anchor: Partial<IRange.CellCoords>The anchor cell.
Updates the selection using a new start and end.
The start cell.
Optional
end: Partial<IRange.CellCoords>The end cell. Default is the start cell.
Optional
anchor: Partial<IRange.CellCoords>The anchor cell.
Returns the adjusting range.
Checks if the entire range is selected.
True if the entire range is selected, otherwise false.
Modifies the selection around the anchor.
The anchor cell.
Optional
cellPivot: Partial<IRange.CellCoords>The pivot cell.
Optional
resetAnchor: booleanWhether to reset the anchor. Default is false.
Navigates the entire sheet
The current instance.
Traverses the selection, moving to the next cell based on the orientation.
Optional
orientation: IRange.OrientationThe orientation to traverse. Default is ICellRange.Orientation.Row
.
Optional
reverse: booleanWhether to traverse in reverse. Default is false.
The current instance.
Updates the selection coordinates.
The new coordinates.
The current instance.
Interface representing a range selection within a sheet.