Back to Devexpress

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

corelibraries-devexpress-dot-pivotgrid-dot-printing-dot-customexportcelleventargsbase-dot-createdrilldowndatasource-x28-system-dot-int32-system-dot-collections-dot-generic-dot-list-system-dot-string-x29.md

latest2.5 KB
Original Source

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.v25.2.Core.dll

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

Declaration

csharp
public PivotDrillDownDataSource CreateDrillDownDataSource(
    int maxRowCount,
    List<string> customColumns
)
vb
Public Function CreateDrillDownDataSource(
    maxRowCount As Integer,
    customColumns As List(Of String)
) As PivotDrillDownDataSource

Parameters

NameTypeDescription
maxRowCountInt32

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

TypeDescription
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

CustomExportCellEventArgsBase Class

CustomExportCellEventArgsBase Members

DevExpress.PivotGrid.Printing Namespace