PivotFieldValueEventArgsBase<T>.CreateOLAPDrillDownDataSource(Int32, List<String>) Method
OBSOLETE
The CreateOLAPDrillDownDataSource method is obsolete now. Use the CreateDrillDownDataSource() method instead.
In OLAP mode, returns a list of records used to calculate a summary value for the specified cell.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
[Obsolete("The CreateOLAPDrillDownDataSource method is obsolete now. Use the CreateDrillDownDataSource method instead.")]
public PivotDrillDownDataSource CreateOLAPDrillDownDataSource(
int maxRowCount,
List<string> customColumns
)
Parameters
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. |
Returns
Type | Description |
---|---|
PivotDrillDownDataSource | A PivotDrillDownDataSource object that contains the underlying data for the processed cell. |
Remarks
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.
Note
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).