PivotDrillDownDataSource Class
Represents a list of the records which are used to calculate summaries for individual cells.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
public class PivotDrillDownDataSource :
IBindingList,
IList,
ICollection,
IEnumerable,
IEnumerator,
ITypedList,
IDisposable
Related API Members
The following members return PivotDrillDownDataSource objects:
Remarks
A PivotDrillDownDataSource object is returned by the CreateDrillDownDataSource and CreateOlapDrillDownDataSource methods, provided by the PivotGrid control. Any of these methods allow you to obtain a list of the records which are used to calculate summaries for individual cells.
The PivotDrillDownDataSource class implements the IList interface, so the data returned by the CreateDrillDownDataSource method can easily be displayed in a grid control (DXGrid or DataGrid).
The underlying data for a cell can be accessed via the PivotGridControl.CreateDrillDownDataSource and PivotGridControl.CreateOlapDrillDownDataSource methods. In addition, the CreateDrillDownDataSource and CreateOlapDrillDownDataSource methods are accessible when handling the PivotGridControl.CustomCellAppearance, PivotGridControl.CustomValueAppearance, PivotGridControl.CustomCellDisplayText, PivotGridControl.CellDoubleClick, PivotGridControl.FieldValueDisplayText, and PivotGridControl.CustomSummary events. The method is accessible via an event’s parameter.
Individual rows in the PivotDrillDownDataSource are represented by PivotDrillDownDataRow objects.
In OLAP mode, use the CreateOlapDrillDownDataSource method to retrieve the underlying data. See the PivotGridControl.CreateOlapDrillDownDataSource topic, for specifics on using this method.