Skip to main content
.NET Framework 4.5.2+
Row

PivotFieldSortType Enum

Lists values that specify the sort order for a PivotTable field.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

public enum PivotFieldSortType

Members

Name Description
Ascending

Sorts the field in ascending order.

Descending

Sorts the field in descending order.

Manual

Enables manual sorting of field items by dragging them in the UI.

Currently, the SpreadsheetControl doesn’t support manual sorting of field items.

Remarks

The values listed by this enumeration are used by the PivotField.SortType property and PivotField.SortItems method to sort items in a PivotTable field.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotFieldSortType enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also