Skip to main content

Reordering Fields

The following operations can be performed by end-users to rearrange fields:

Action Effect
Dragging a field header and dropping it at a new position within the same or another header area. Moves the field to the new position.
Selecting an option from the “Order” submenu in the field header context menu. Moves the field in the selected direction within the area.
Double-clicking a field header within the customization form or selecting a field header and clicking the form’s Add To button. Shows the field header in the specified area.

Note:

  • Use the pivot grid’s OptionsCustomize.Moving property to prevent end-users from moving any field.

  • Use a field’s Options.Moving property to prevent end-users from moving this field.

  • Use a field’s AllowedAreas property to specify the areas within which the field can be positioned.

  • Handle the pivot grid’s OnFieldPosChanged event to perform specific actions after a field has changed its position.