DxPivotTable.AutoExpandGroups Property
Specifies whether to automatically expand all groups when the Pivot Table loads data.
Namespace: DevExpress.Blazor.PivotTable
Assembly: DevExpress.Blazor.PivotTable.v24.2.dll
NuGet Package: DevExpress.Blazor.PivotTable
Declaration
[DefaultValue(true)]
[Parameter]
public bool AutoExpandGroups { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
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