Back to Devexpress

PivotGridFieldBase.ActualSortMode Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-f9634cc4.md

latest3.6 KB
Original Source

PivotGridFieldBase.ActualSortMode Property

This member supports the internal infrastructure and is not intended to be used directly from your code.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.PivotGrid.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(PivotSortMode.Default)]
public PivotSortMode ActualSortMode { get; set; }
vb
<Browsable(False)>
<DefaultValue(PivotSortMode.Default)>
Public Property ActualSortMode As PivotSortMode

Property Value

TypeDefault
PivotSortModeDefault

Available values:

NameDescription
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 |

  • Sorts the field’s data by the field’s display text (the strings displayed within the field values).
  • In OLAP mode, the data is sorted against the text generated on the server. Set the PivotGridOptionsOLAP.SortByCustomFieldValueDisplayText property to true to sort data by handling the PivotGridControl’s FieldValueDisplayText event.
  • The field is not sorted against the custom text generated on the client side (for instance, if you modify the text via the PivotGridControl.FieldValueDisplayText event).

| | 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). Set the PivotGridFieldBase.SortByAttribute property to specify the dimension attribute.

|

See Also

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace