Back to Devexpress

DxPivotTable.AllowSortInFieldList Property

blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottable-74b9fe7e.md

latest1.9 KB
Original Source

DxPivotTable.AllowSortInFieldList Property

Specifies whether users can change field sort order 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 AllowSortInFieldList { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true to allow users to change field sort order 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 prevents users from changing field sort order in the Pivot Table’s Field List:

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

Note

When the Defer Layout Update option is enabled in the Field List, users cannot change field sort order. The sort glyph is not displayed.

Run Demo: Pivot Table - Field Customization

Implements

AllowSortInFieldList

See Also

DxPivotTable Class

DxPivotTable Members

DevExpress.Blazor.PivotTable Namespace