Defines the configuration information for an aggregation row. The values for
each column can be configured and calculated in several ways. The following
methods are supported in order of precedence.
- A static HTML string can be specified.
- A widget can be specified.
- A
SummaryType
can be used to "calculate" a value based on
the data. When using a summary type, EITHER a
NumberFormat
or a AggregationRenderer
can be used
to "format" the value.
In some cases, the values will not be calculated by the data stored in the
store, for example, with paging. In this situation, there are 2 ways to
provide values.
The first method is to specify a AggregationRenderer
for the
relevant columns. This renderer can any data as needed. The second method is
to provide a GXT Model
that contains the values for the
aggregation row. In this case, the value will be retrieved from the model
using the property name associated with the column. With this method, you are
responsible for ensuring the model is updated any time the aggregation values
are updated.