Skip to main content
All docs
V25.1
  • DxPivotTable.AllowDragFieldsInFieldList Property

    Specifies whether users can drag fields in the Field List.

    Namespace: DevExpress.Blazor.PivotTable

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

    NuGet Package: DevExpress.Blazor.PivotTable

    Declaration

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

    Property Value

    Type Default Description
    Boolean true

    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 more information: Field Customization in the UI.

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

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