Skip to main content

ASPxPivotGrid.GetFieldValueByIndex(PivotGridField, Int32) Method

Returns the specified field’s value by its index.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web

Declaration

public object GetFieldValueByIndex(
    PivotGridField field,
    int fieldValueIndex
)

Parameters

Name Type Description
field PivotGridField

A PivotGridField object that represents the field which contains the required value.

fieldValueIndex Int32

An integer value that identifies the required field value.

Returns

Type Description
Object

An object that represents the specified field’s value.

Remarks

The GetFieldValueByIndex method can be used when handling the client-side ASPxClientPivotGrid.PopupMenuItemClick event.

Tip

Consider using the ASPxPivotGrid.GetFieldValueInfo method instead. It allows you to differentiate between the column and row areas when passing the field value index.

To obtain the field value for which the popup menu has been invoked, follow the steps below:

See Also