DxPivotTable.AllowSortInFieldList Property
Specifies whether users can change field sort order 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 AllowSortInFieldList { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
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 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.