Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotItem.MoveToEnd() Method

In This Article

Moves the item to the last position within the field’s item collection.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

void MoveToEnd()

#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
PivotItem.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.
MoveToEnd Moves the item label to the last position within the field.
See Also