Skip to main content

PivotSummaryDataSource.GetRowIndex(Object) Method

Returns the index of the specified row.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

public override int GetRowIndex(
    object value
)

Parameters

Name Type Description
value Object

A PivotSummaryDataRow object that represents the summary data source row.

Returns

Type Description
Int32

An integer value that represents the zero-based index of the specified summary data source row.

Remarks

If the object passed as the value parameter is not the PivotSummaryDataRow class instance, the GetRowIndex method returns -1.

To obtain the column’s index by the corresponding field, use the PivotSummaryDataSource.GetColumnIndex method.

See Also