Skip to main content
A newer version of this page is available. .

PivotDrillDownDataSource.GetValue(Int32, PivotGridFieldBase) Method

Gets the value of the specified field in the specified row.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public abstract object GetValue(
    int rowIndex,
    PivotGridFieldBase field
)

Parameters

Name Type Description
rowIndex Int32

The zero-based index of the required row.

field PivotGridFieldBase

A PivotGridFieldBase object which represents the required field.

Returns

Type Description
Object

An object which represents the value of the specified field in the specified row.

Remarks

The number of rows is determined by the RowCount property. So the rowIndex parameter can vary between 0 and RowCount - 1.

This method overload is not supported in OLAP mode.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetValue(Int32, PivotGridFieldBase) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also