PivotSortMode Enum

Lists the values that specify how a field's data should be sorted.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[ResourceFinder(typeof(ResFinder), "PropertyNamesRes")]
public enum PivotSortMode
<ResourceFinder(GetType(ResFinder), "PropertyNamesRes")>
Public Enum PivotSortMode

Members

Name Description
Default

Sorts the field's data by the field's values (these are synchronized with the values from the bound data source).

Value

Sorts the field's data by the field's values (these are synchronized with the values from the bound data source).

DisplayText
Custom

Enables custom sorting of the field's data using the CustomFieldSort event or the CustomServerModeSort event in OLAP mode.

Key

Sorts the field's data by key attributes (in OLAP mode).

ID

Sorts by a level member's ID (in OLAP mode).

None

Data is not sorted - it is displayed in the order the data source specifies. This option is in effect only in OLAP mode.

DimensionAttribute

Sorts the field's data by the OLAP member property (in OLAP mode).

Related API Members

The following properties accept/return PivotSortMode values:

Library Related API Members
Cross-Platform Class Library IThreadSafeField.SortMode
PivotGridFieldBase.ActualSortMode
PivotGridFieldBase.SortMode
Silverlight Controls IThreadSafeField.SortMode

Remarks

Values listed by this enumeration are used to set the field's PivotGridFieldBase.SortMode property.

When the field's SortMode is set to Custom, refer to the platform-specific events for more information:

WinForms ASP.NET ASP.NET MVC WPF
CustomFieldSort CustomFieldSort CustomFieldSort CustomFieldSort

When the field's SortMode is set to Custom in OLAP mode, refer to the platform-specific events for more information:

WinForms ASP.NET ASP.NET MVC WPF
CustomServerModeSort CustomServerModeSort CustomServerModeSort CustomServerModeSort
See Also