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

ASPxClientSpreadsheet.GetCellValue(colModelIndex, rowModelIndex) Method

Gets the value of the specified cell.

Declaration

GetCellValue(
    colModelIndex: number,
    rowModelIndex: number
): any

Parameters

Name Type Description
colModelIndex number

An integer value specifying the cell’s column index.

rowModelIndex number

An integer value specifying the cell’s row index.

Returns

Type Description
any

An object representing the specified cell’s value.

Remarks

The method might return an irrelevant value of the specified cell in the following cases:

  • The specified cell is placed far from the displayed data cells. In this case, the method returns the null value since the client-side control stores the values only for a small area about the displayed data cells.
  • The document is used by more than one end-user. The method returns the value that will differ from the value stored on the server side if the document is open and does not receive updates from the server side while another end-user has updated the server-side value.
See Also