XRPivotGrid.CustomServerModeSort Event

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Declaration

public event EventHandler<PivotGridCustomServerModeSortEventArgs> CustomServerModeSort
Public Event CustomServerModeSort As EventHandler(Of PivotGridCustomServerModeSortEventArgs)

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

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