FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid.Classic Namespace / C1FlexGridClassic Class / Subtotal Method / Subtotal(AggregateEnum) Method
C1.Win.C1FlexGrid.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
    C1.Win.C1FlexGrid.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