DxPivotTable.ShowColumnTotals Property
Specifies whether to display column totals.
Namespace: DevExpress.Blazor.PivotTable
Assembly: DevExpress.Blazor.PivotTable.v24.2.dll
NuGet Package: DevExpress.Blazor.PivotTable
Declaration
[DefaultValue(true)]
[Parameter]
public bool ShowColumnTotals { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
The DevExpress Blazor Pivot Table calculates totals for its data and displays them as separate columns and rows. There are four types of totals:
- Row/column totals display sub-totals calculated for outer row/column fields.
- Row/column grand totals display overall totals calculated against all rows/columns.
You can use the following properties to change totals’ visibility:
- ShowRowTotals
- ShowRowGrandTotals
ShowColumnTotals
- ShowColumnGrandTotals
The following code hides column totals:
<DxPivotTable Data="SalesData"
ShowRowTotals="false">
<Fields>
@*...*@
</Fields>
</DxPivotTable>
You can also use the following properties to set the position of row/column totals relative to rows/columns:
Implements
See Also