Skip to main content
A newer version of this page is available. .

XRPivotGrid Class

A Pivot Grid control that is used to create cross-tab reports.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v17.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public class XRPivotGrid :
    XRControl,
    IDataContainer,
    IDataContainerBase,
    IDataContainerBase2,
    IPivotGridEventsImplementorBase,
    IPivotGridPrinterOwner,
    IPrintable,
    IBasePrintable,
    IComponentLoading,
    IBindingList,
    IList,
    ICollection,
    IEnumerable,
    ITypedList,
    IPivotGrid,
    IChartDataSource,
    IPivotGridDataContainer,
    IPivotGridDataContainerCore,
    IXtraSerializableLayoutEx,
    IXtraSupportDeserializeCollection

Remarks

The XRPivotGrid control duplicates all the general functionality of the PivotGridControl, and is intended to add a pivot table to your reports.

The control’s data source is specified by the XRPivotGrid.DataSource and XRPivotGrid.DataMember properties.

The Pivot Grid control stands as a familiar data source to the XRChart control, meaning that you can simply assign the Pivot Grid instance to a chart’s XRChart.DataSource property, for all data and layout settings to be defined automatically. To learn more on this, see Pivot Charting (Integration with a Pivot Grid Control).

Note

The Pivot Grid control’s width is not determined at design time, so it cannot be inserted into another control (XRTableCell or XRPanel).

To learn more, see Creating a Cross-Tab Report.

Implements

See Also