Skip to main content

PivotFieldStateChangedEventArgs.GetFieldValue(PivotGridField, Int32) Method

Returns the specified field value.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web

Declaration

public object GetFieldValue(
    PivotGridField field,
    int cellIndex
)

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 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 indexes that numerate rows and columns.

GetFieldValue

See Also