Skip to main content

XRPivotGrid.CustomServerModeSort Event

Provides the capability to sort data using custom rules in OLAP and server mode.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public event EventHandler<PivotGridCustomServerModeSortEventArgs> CustomServerModeSort

Event Data

The CustomServerModeSort event's data class is DevExpress.XtraReports.UI.PivotGrid.PivotGridCustomServerModeSortEventArgs.

Remarks

Handle the CustomServerModeSort event to provide a custom sorting algorithm in OLAP and server mode for a specific field. Note that the PivotGridFieldBase.SortMode property of the sorted field should be set to Custom to apply custom sorting. Otherwise, the CustomServerModeSort event will not be raised.

To learn more about the functionality provided by this event, see PivotGridControl.CustomServerModeSort.

See Also