Subtotal(AggregateEnum,Int32,Int32,Int32,String) Method
In This Topic
Groups rows based on cell contents and calculates aggregate values.
Syntax
'Declaration
Public Overloads Sub Subtotal( _
ByVal As AggregateEnum, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As String _
)
public void Subtotal(
AggregateEnum ,
int ,
int ,
int ,
string
)
Parameters
- aggType
- C1.Win.C1FlexGrid.AggregateEnum value that specifies the type of aggregate to calculate.
- level
- Outline level to assign to the new subtotal rows. This parameter allows the creation of multi-level subtotals and affects the display of the outline tree.
- groupOn
- Column used to detect group breaks.
- totalOn
- Column that contains values to be aggregated (usually numeric).
- caption
- Text to insert in the subtotal rows.
See Also