The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRPivotGrid.CustomGroupInterval Event

Allows you to custom group values of column and row fields.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

public event EventHandler<PivotCustomGroupIntervalEventArgs> CustomGroupInterval
Public Event CustomGroupInterval As EventHandler(Of PivotCustomGroupIntervalEventArgs)

Event Data

The CustomGroupInterval event handler receives an argument of the DevExpress.XtraReports.UI.PivotGrid.PivotCustomGroupIntervalEventArgs type.

Remarks

Values of column and row fields can be grouped into bigger ranges. You can select one of the predefined group modes available via the PivotGridFieldBase.GroupInterval property. If none of these group modes match your requirements, you can implement custom grouping.

To custom group a field's values, set the PivotGridFieldBase.GroupInterval property to Custom and handle the CustomGroupInterval event to implement custom grouping logic. The event fires for each value of a field. While handling the event, use the GroupValue parameter to specify the group that will own the currently processed value. For values to be displayed in a single group, provide the same value for the GroupValue parameter.

Note

Custom grouping is not supported in OLAP mode.

See Also