DxPivotTable.FieldPositionChanging Event
In This Article
Fires after a user starts dragging a field to another area.
Namespace: DevExpress.Blazor.PivotTable
Assembly: DevExpress.Blazor.PivotTable.v25.1.dll
NuGet Package: DevExpress.Blazor.PivotTable
#Declaration
C#
[Parameter]
public Action<PivotTableFieldPositionChangingEventArgs> FieldPositionChanging { get; set; }
#Event Data
The FieldPositionChanging event's data class is PivotTableFieldPositionChangingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Specifies whether the field moving should be canceled. |
Field | Returns the field name. |
New |
Returns the field’s new area. |
New |
Returns the field’s new index among other fields in the same area. |
#Remarks
The Pivot Table raises the FieldPositionChanging
event in the following cases:
- When a user starts dragging a field in the Pivot Table or Field List.
- You call the Pivot Table’s SetFieldPosition(String, PivotTableArea, Int32) method to set a field position.
#Implements
See Also