Skip to main content
Row

PivotFieldReferenceBase.MoveToEnd() Method

Moves the field to the last position within the collection which represents the PivotTable area where this field is currently shown.

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 fields shown in a specific area of the PivotTable report. To do this, access the required field you wish to move by its name in the collection representing the appropriate PivotTable area where this field is currently shown, and then call one of the following PivotFieldReferenceBase methods.

Method Description
PivotFieldReferenceBase.MoveUp Moves the field one position up in the area.
PivotFieldReferenceBase.MoveDown Moves the field one position down in the area.
PivotFieldReferenceBase.MoveToBeginning Moves the field to the beginning of the area.
MoveToEnd Moves the field to the end of the area.
See Also