Skip to main content
All docs
V25.1
  • PivotTableFilterMenuButtonDisplayMode Enum

    Lists values that specify when the Pivot Table displays filter menu buttons in field headers.

    Namespace: DevExpress.Blazor.PivotTable

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

    NuGet Package: DevExpress.Blazor.PivotTable

    Declaration

    public enum PivotTableFilterMenuButtonDisplayMode

    Members

    Name Description
    Default

    Auto is used. Filter menu buttons are displayed in field headers.

    Never

    Filter menu buttons are not displayed in field headers.

    Auto

    Filter menu buttons are displayed in field headers.

    Remarks

    Use the DxPivotTable.FilterMenuButtonDisplayMode or DxPivotTableField.FilterMenuButtonDisplayMode property to control filter menu buttons visibility for fields.

    The following code hides a filter menu button for the SalesDate field:

    <DxPivotTable Data="@PivotData">
        <Fields>
            @*...*@
            <DxPivotTableField Field="@nameof(VehiclesData.TrademarkItem.Modification)"
                               Area="@PivotTableArea.Filter"/>
            <DxPivotTableField Field="@nameof(VehiclesData.TrademarkItem.BodyStyle)"
                               Name="@BodyStyleName"
                               Area="@PivotTableArea.Filter" />
            <DxPivotTableField Field="@nameof(VehiclesData.TrademarkItem.SalesDate)"
                               GroupInterval="@PivotTableGroupInterval.Date"
                               Name="fieldSalesDate"
                               Area="@PivotTableArea.Filter" 
                               FilterMenuButtonDisplayMode="PivotTableFilterHeaderAreaDisplayMode.Never" />
        </Fields>
    <DxPivotTable>
    
    See Also