PivotGridControl.CustomServerModeSort Event

In OLAP and server mode, provides the capability to sort data using custom rules.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

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

Event Data

The CustomServerModeSort event's data class is CustomServerModeSortEventArgs. The following properties provide information specific to this event:

Property Description
Field Gets the field whose values are being compared.
OlapMember1 Get the first member being compared.
OlapMember2 Get the second member being compared.
Result Gets or sets the result of a custom comparison.
Value1 Gets the first value being compared.
Value2 Gets the second value being compared.

Remarks

NOTE

The PivotGridField.SortMode property of the sorted field should be set to Custom to apply custom sorting. Otherwise, the CustomServerModeSort event will not be raised.

See Also