Skip to main content

ASPxPivotGrid.GetCellValue(Int32, Int32) Method

Returns the value displayed in the specified cell.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public object GetCellValue(
    int columnIndex,
    int rowIndex
)

Parameters

Name Type Description
columnIndex Int32

A zero-based index of the column that contains the cell.

rowIndex Int32

A zero-based absolute index of the row that contains the cell. To obtain the absolute row index by its index within the current page, use the ASPxPivotGrid.GetAbsoluteRowIndex method.

Returns

Type Description
Object

The value of the specified cell.

Remarks

To identify a column or row using corresponding field values, use the ASPxPivotGrid.GetColumnIndex and ASPxPivotGrid.GetRowIndex methods respectively.

To obtain the total number of columns and rows in the pivot grid, use the ASPxPivotGrid.ColumnCount and ASPxPivotGrid.RowCount properties respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetCellValue(Int32, Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also