Skip to main content
All docs
V25.1
  • DxPivotTable.AutoExpandGroups Property

    Specifies whether to automatically expand all groups when the Pivot Table loads data.

    Namespace: DevExpress.Blazor.PivotTable

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

    NuGet Package: DevExpress.Blazor.PivotTable

    Declaration

    [DefaultValue(true)]
    [Parameter]
    public bool AutoExpandGroups { get; set; }

    Property Value

    Type Default Description
    Boolean true

    true to expand all groups; otherwise, false.

    Remarks

    The Blazor Pivot Table automatically groups data data if row or column areas include multiple fields. All groups expand on data load. You can set the AutoExpandGroups property to false to collapse groups.

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

    You can also use the ExpandAllGroups or CollapseAllGroups methods to expand/collapse all groups in the Pivot Table component.

    Implements

    See Also