ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / Subtotal Method / Subtotal(AggregateEnum) Method
AggregateEnum value that specifies the type of aggregate to calculate.

In This Topic
    Subtotal(AggregateEnum) Method
    In This Topic
    Groups rows based on cell contents and calculates aggregate values.
    Syntax
    'Declaration
     
    Public Overloads Sub Subtotal( _
       ByVal aggType As AggregateEnum _
    ) 
    public void Subtotal( 
       AggregateEnum aggType
    )

    Parameters

    aggType
    AggregateEnum value that specifies the type of aggregate to calculate.
    Remarks
    This version of the C1.Win.C1FlexGrid.C1FlexGridBase.Subtotal(C1.Win.C1FlexGrid.AggregateEnum,System.Int32,System.Int32,System.Int32,System.Int32,System.String,C1.Win.C1FlexGrid.AggregateFlags,C1.Win.C1FlexGrid.RowColFlags) method does not take any column parameters, and is useful only for clearing the subtotals. For example: flex.Subtotal(AggregateEnum.Clear); // clear all subtotals
    See Also