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.v23.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.

See Also