PivotItem.MoveUp() Method
Moves the item to the previous position within the field’s item collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Remarks
After you create a PivotTable report or load an existing pivot table, you can rearrange items in a specific field by moving them to a different position. To do this, access the required item you wish to move by its index in the PivotItemCollection collection and then call one of the following PivotItem methods.
Method | Description |
---|---|
MoveUp | Moves the item label one position up in the field. |
PivotItem.MoveDown | Moves the item label one position down in the field. |
PivotItem.MoveToBeginning | Moves the item label to the first position within the field. |
PivotItem.MoveToEnd | Moves the item label to the last position within the field. |
See Also