A newer version of this page is available. Switch to the current version.

PivotFieldValueEventArgsBase<T>.CreateOLAPDrillDownDataSource(Int32, List<String>) Method

Obsolete. In OLAP mode, returns a list of records used to calculate a summary value for the specified cell.

Namespace: DevExpress.XtraPivotGrid

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


[Obsolete("The CreateOLAPDrillDownDataSource method is obsolete now. Use the CreateDrillDownDataSource method instead.")]
public PivotDrillDownDataSource CreateOLAPDrillDownDataSource(
    int maxRowCount,
    List<string> customColumns


Name Type Description
maxRowCount Int32

An integer value that specifies the maximum number of data rows to be returned.

customColumns List<String>

A list of columns to be returned.


Type Description

A PivotDrillDownDataSource object that contains the underlying data for the processed cell.


When the PivotGridControl is bound to a regular data source, use the PivotFieldValueEventArgsBase<T>.CreateDrillDownDataSource method to get the list of records used to calculate a summary value for the specified cell.


In OLAP mode, calling the PivotFieldValueEventArgsBase<T>.CreateDrillDownDataSource method is equivalent to calling the CreateOLAPDrillDownDataSource method with the maxRowCount parameter set to 0 and the customColumns parameter set to null (Nothing in Visual Basic).

See Also