ASPxPivotGrid.GetFieldValue(PivotGridField, Int32) Method
In This Article
Returns the specified field value.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public object GetFieldValue(
PivotGridField field,
int cellIndex
)
#Parameters
Name | Type | Description |
---|---|---|
field | Pivot |
A Pivot |
cell |
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.
See Also