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.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

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

Parameters

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.

Returns

Type Description
PivotDrillDownDataSource

A PivotDrillDownDataSource object that contains a list of data records.

Remarks

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

See Also