Back to Devexpress

PivotField.SetSubtotalAutomatic() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivotfield-a8bb7ee5.md

latest1.7 KB
Original Source

PivotField.SetSubtotalAutomatic() Method

Displays automatic subtotals for the PivotTable field.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void SetSubtotalAutomatic()
vb
Sub SetSubtotalAutomatic

Remarks

This method is relevant only when the specified PivotField is a row or column field other than the innermost one and can be used to subtotal an outer field by using the default summary function.

If you wish to use a different function to calculate subtotals or to display multiple subtotals for a particular outer field, use the field’s PivotField.SetSubtotal method.

See Also

SetSubtotal(PivotSubtotalFunctions)

PivotField Interface

PivotField Members

DevExpress.Spreadsheet Namespace