Skip to main content

PivotGridFieldBase.ChangeSortOrder() Method

In This Article

Toggles the sort order for the current field.

Namespace: DevExpress.XtraPivotGrid

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

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

#Declaration

public void ChangeSortOrder()

#Remarks

The ChangeSortOrder method toggles the field’s sort order, specified by the PivotGridFieldBase.SortOrder property.

To toggle the field sort order asynchronously, use the PivotGridControl.ChangeFieldSortOrderAsync method.

See Also