Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Selection Class

The selection in the Spreadsheet.

#Declaration

TypeScript
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

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.