Back to Devexpress

DxPivotTable.AllowDragFieldsInFieldList Property

blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottable-d3e88c75.md

latest1.6 KB
Original Source

DxPivotTable.AllowDragFieldsInFieldList Property

Specifies whether users can drag fields in the Field List.

Namespace : DevExpress.Blazor.PivotTable

Assembly : DevExpress.Blazor.PivotTable.v25.2.dll

NuGet Package : DevExpress.Blazor.PivotTable

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool AllowDragFieldsInFieldList { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true to enable field dragging in the Field List; otherwise, false.

|

Remarks

The Pivot Table includes a Field List that allows users to manage component layout. Users can drag fields, change field sort order, and apply filters. Refer to the following topic for additional information: Field Customization in the UI.

The following code disables field dragging within the Pivot Table’s Field List:

razor
<DxPivotTable Data="SalesData"
              AllowDragFieldsInFieldList="false">
    <Fields>
        @*...*@
    </Fields>
</DxPivotTable>

Implements

AllowDragFieldsInFieldList

See Also

DxPivotTable Class

DxPivotTable Members

DevExpress.Blazor.PivotTable Namespace