Skip to main content

PivotFieldStateChangedEventArgs.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 current field. Allows you to specify the columns and limit the number of records to be returned.

Namespace: DevExpress.Web.ASPxPivotGrid

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

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. -1 to retrieve all rows.

customColumns List<String>

A list of columns in a data source, to be returned.

Returns

Type Description
PivotDrillDownDataSource

A PivotDrillDownDataSource object that contains the underlying data.

Remarks

To obtain the name of a column in a data source to which a pivot field corresponds, use the field’s PivotGridFieldBase.OLAPDrillDownColumnName property.

See Also