Selection Class

The selection in the Spreadsheet.

Declaration

class Selection

Remarks

An object of the Selection type is returned by the following members:

Properties

activeCellColumnIndex Property

Gets the column index of the active cell.

Declaration

activeCellColumnIndex: number

Property Value

Type Description
number

The active cell column index.

activeCellRowIndex Property

Gets the row index of the active cell.

Declaration

activeCellRowIndex: number

Property Value

Type Description
number

The active cell row index.

bottomRowIndex Property

Gets the index of the selection’s bottom row.

Declaration

bottomRowIndex: number

Property Value

Type Description
number

The index of the bottom row.

leftColumnIndex Property

Gets the index of the selection’s left column.

Declaration

leftColumnIndex: number

Property Value

Type Description
number

The index of the right column.

rightColumnIndex Property

Gets the index of the selection’s right column.

Declaration

rightColumnIndex: number

Property Value

Type Description
number

The index of the right column.

topRowIndex Property

Gets the index of the selection’s top row.

Declaration

topRowIndex: number

Property Value

Type Description
number

The index of the top row.