ASPxPivotGrid.GetFieldValue(PivotGridField, Int32) Method

Returns the specified field value.

Namespace: DevExpress.Web.ASPxPivotGrid

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

Declaration

public object GetFieldValue(
    PivotGridField field,
    int cellIndex
)
Public Function GetFieldValue(
    field As PivotGridField,
    cellIndex As Integer
) As Object

Parameters

Name Type Description
field PivotGridField

A PivotGridField object that represents a column or row field whose value is to be obtained.

cellIndex Int32

A zero-based index of a cell in the Data Area that identifies the required field value.

Returns

Type Description
Object

An object that represents the field's value.

Remarks

To obtain a row field value, specify the absolute index of the row via the cellIndex parameter. Use the ASPxPivotGrid.GetAbsoluteRowIndex method to obtain the absolute row index by its index within the current page.

The following image shows cell indices that numerate rows and columns.

GetFieldValue

See Also