The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxPivotGrid.GetFieldValueByIndex(PivotGridField, Int32) Method

Returns the specified field's value by its index.

Namespace: DevExpress.Web.ASPxPivotGrid

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

Declaration

public object GetFieldValueByIndex(
    PivotGridField field,
    int fieldValueIndex
)
Public Function GetFieldValueByIndex(
    field As PivotGridField,
    fieldValueIndex As Integer
) As Object

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