Selection Class
The selection in the Spreadsheet.
#Declaration
TypeScript
class Selection
#Remarks
An object of the Selection type is returned by the following members:
- the getSelection method;
- the selection property in the selectionChanged event’s handler.
#Properties
#activeCellColumnIndex Property
Gets the column index of the active cell.
#Declaration
TypeScript
activeCellColumnIndex: number
#Property Value
Type | Description |
---|---|
number | The active cell column index. |
#activeCellRowIndex Property
Gets the row index of the active cell.
#Declaration
TypeScript
activeCellRowIndex: number
#Property Value
Type | Description |
---|---|
number | The active cell row index. |
#bottomRowIndex Property
Gets the index of the selection’s bottom row.
#Declaration
TypeScript
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
TypeScript
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
TypeScript
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
TypeScript
topRowIndex: number
#Property Value
Type | Description |
---|---|
number | The index of the top row. |