ComponentOne FlexGrid for WinForms
Subtotal(AggregateEnum) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > Subtotal Method : Subtotal(AggregateEnum) Method
AggregateEnum value that specifies the type of aggregate to calculate.
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 Subtotal(AggregateEnum,Int32,Int32,Int32,Int32,String,AggregateFlags) 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

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List