The SummaryField class represents a single property in a SummaryRow instance.
Each SummaryRow instance specifies one or more SummayField instances
that are used to create a data summary.
Use the dataField property to specify the data field used to generate the summary,
the label property to specify the name of the data field created to hold the summary data,
and the operation property to specify how to create the summary for numeric fields.
You can specify one of the following values:
SUM, MIN, MAX, AVG, or COUNT.
The following example creates summary rows based on two fields of the data provider
of the AdvancedDataGrid control:
This Class has been deprecated and replaced by a new Class
Properties operation and summaryFunction are
not present in the Class SummaryField2.
A new property summaryOperation is introduced in
The property used inside the summary object,
an instance of the SummaryObject class, to
hold summary information.
For example, if you set the label property to "Summary",
then the computed summary is placed in a property named "Summary"
in the summary object. The property of the SummaryObject instance
containing the summary data will appear as below: