blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottable-74b9fe7e.md
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
[DefaultValue(true)]
[Parameter]
public bool AllowSortInFieldList { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to allow users to change field sort order in the Field List; otherwise, false.
|
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:
<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
See Also