Skip to main content
A newer version of this page is available. .

ASPxClientSpreadsheet.GetCellBounds(colModelIndex, rowModelIndex) Method

Gets the specified cell’s bounds.

Declaration

GetCellBounds(
    colModelIndex: number,
    rowModelIndex: number
): ASPxClientSpreadsheetRectangle

Parameters

Name Type Description
colModelIndex number

An integer value specifying the zero-based column index.

rowModelIndex number

An integer value specifying the zero-based row index.

Returns

Type Description
ASPxClientSpreadsheetRectangle

An ASPxClientSpreadsheetRectangle instance defining the rectangle with the specified position and size.

Remarks

The method returns the absolute position and size of the selected cell. The cell’s absolute position is defined relatively to the page. Thus, the cell’s position value is changed if an end-user scrolls a document (changes the visible cells range).

ASPxSpreadsheet_GetCellBounds

See Also