Skip to main content

ASPxPivotGrid.GetColumnIndex(Object[], PivotGridField) Method

Returns the index of the specified column.

Namespace: DevExpress.Web.ASPxPivotGrid

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

NuGet Package: DevExpress.Web

#Declaration

public int GetColumnIndex(
    object[] values,
    PivotGridField field
)

#Parameters

Name Type Description
values Object[]

An array of column field values that identify the column.

field PivotGridField

A PivotGridField object.

#Returns

Type Description
Int32

An integer value that specifies the column index. -1 if the specified column has not been not found.

See Also