wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotfieldvalueeventargs-dot-createdrilldowndatasource-x28-system-dot-int32-system-dot-collections-dot-generic-dot-list-system-dot-string-x29.md
Returns a list of records used to calculate a summary value for the specified cell. Allows you to specify the columns, and limit the number of records to be returned.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public PivotDrillDownDataSource CreateDrillDownDataSource(
int maxRowCount,
List<string> customColumns
)
Public Function CreateDrillDownDataSource(
maxRowCount As Integer,
customColumns As List(Of String)
) As PivotDrillDownDataSource
| 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.
|
| Type | Description |
|---|---|
| PivotDrillDownDataSource |
A PivotDrillDownDataSource object that contains the underlying data for the processed cell.
|
Important
The customColumns parameter is in effect in Server and OLAP modes only; otherwise, it is ignored.
If you use the CreateDrillDownDataSource method in OLAP, take note of the following limitations:
In server and OLAP modes, the CreateDrillDownDataSource method returns only visible fields. To get values of hidden fields, use the method’s overloads with the customColumns parameter which allow you to specify the columns to be returned.
See Also
PivotFieldValueEventArgs Class