DxPivotTable.AllowDragFields Property
Specifies whether users can drag field headers and drop them onto other areas.
Namespace: DevExpress.Blazor.PivotTable
Assembly: DevExpress.Blazor.PivotTable.v25.1.dll
NuGet Package: DevExpress.Blazor.PivotTable
Declaration
[DefaultValue(true)]
[Parameter]
public bool AllowDragFields { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
The Blazor Pivot Table allows users to customize data layout by dragging field headers between areas: Rows, Columns, Data, Filter. This capability helps users view data from different perspectives without the need for code modifications.
The following code disables field dragging in the Pivot Table:
<DxPivotTable Data="SalesData"
AllowDragFields="false">
<Fields>
@*...*@
</Fields>
</DxPivotTable>
Implements
See Also