Skip to main content

Class: EntireRowsSelection

Defined in: src/selection.ts:165

Selection of entire rows in the spreadsheet

Extends

Constructors

Constructor

new EntireRowsSelection(start, end): EntireRowsSelection

Defined in: src/selection.ts:142

Parameters

start

number

row index where the selection starts, integer

end

number

row index where the selection ends, integer

Returns

EntireRowsSelection

Throws

InvalidIndexError

Inherited from

EntireAxisSelection.constructor

Properties

end

readonly end: number

Defined in: src/selection.ts:135

Selection end index, integer

Inherited from

EntireAxisSelection.end


start

readonly start: number

Defined in: src/selection.ts:133

Selection start index, integer

Inherited from

EntireAxisSelection.start

Methods

equals()

equals(selection): boolean

Defined in: src/selection.ts:154

Determines whether the given selection is equal to this selection

Parameters

selection

Selection

Returns

boolean

Inherited from

EntireAxisSelection.equals


has()

has(data, point): boolean

Defined in: src/selection.ts:197

Determines whether the given point is within the selection

Parameters

data

Matrix<unknown>

point

Point

Returns

boolean

Overrides

EntireAxisSelection.has


hasEntireColumn()

hasEntireColumn(column): boolean

Defined in: src/selection.ts:188

Determines whether the given column is entirely selected in given selection

Parameters

column

number

Returns

boolean

Overrides

EntireAxisSelection.hasEntireColumn


hasEntireRow()

hasEntireRow(row): boolean

Defined in: src/selection.ts:184

Determines whether the given row is entirely selected in given selection

Parameters

row

number

Returns

boolean

Overrides

EntireAxisSelection.hasEntireRow


normalizeTo()

normalizeTo(data): this

Defined in: src/selection.ts:174

Normalize the selection according to the given data

Parameters

data

Matrix<unknown>

Returns

this

Overrides

EntireAxisSelection.normalizeTo


size()

size(data): number

Defined in: src/selection.ts:192

Get the number of selected points according to given data

Parameters

data

Matrix<unknown>

Returns

number

Overrides

EntireAxisSelection.size


toRange()

toRange(data): PointRange

Defined in: src/selection.ts:166

Get concrete range of the selection in the given data

Parameters

data

Matrix<unknown>

Returns

PointRange

Overrides

EntireAxisSelection.toRange