FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid 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.FlexGrid.C1FlexGridBase.Subtotal(C1.Win.FlexGrid.AggregateEnum,System.Int32,System.Int32,System.Int32,System.Int32,System.String,C1.Win.FlexGrid.AggregateFlags,C1.Win.FlexGrid.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