Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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