ASPxPivotGrid.GetCellValue(Int32, Int32) Method

Returns the value displayed in the specified cell.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll

Declaration

public object GetCellValue(
    int columnIndex,
    int rowIndex
)
Public Function GetCellValue(
    columnIndex As Integer,
    rowIndex As Integer
) As Object

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