Skip to main content

CustomExportCellEventArgsBase.CreateDrillDownDataSource(Int32, List<String>) Method

Returns data records used to calculate a summary value for the current cell. Allows you to specify the data columns and limit the number of returned records.

Namespace: DevExpress.PivotGrid.Printing

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public PivotDrillDownDataSource CreateDrillDownDataSource(
    int maxRowCount,
    List<string> customColumns


Name Type Description
maxRowCount Int32

An integer value that specifies the maximum number of data rows to return. Set it to -1 to retrieve all rows.

customColumns List<String>

A list of data source columns to return.


Type Description

A PivotDrillDownDataSource object that contains a list of data records.


The CreateDrillDownDataSource method retrieves data source records used to calculate current cell values.

See Also