PivotGridOptionsCustomization.AllowSort Property
Gets or sets whether end-users can change the sort order of fields.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v19.1.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true to allow end-users to change the sort order of fields; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AllowSort |
---|---|---|
WinForms Controls | PivotGridControl |
|
Reporting | XRPivotGrid |
|
ASP.NET Web Forms Controls | ASPxPivotGrid |
|
MVCxPivotGrid |
|
|
PivotGridSettings |
|
Remarks
If the AllowSort property is set to false, the sort glyphs are not displayed within field headers thus preventing end-users from changing the sort order of fields. Individual fields however have a PivotGridFieldOptions.AllowSort property which takes priority over the pivot grid’s AllowSort property.
The sort order of fields can also be changed via code using their PivotGridFieldBase.SortOrder property.
See Also