public abstract class GridSummaryCustomizer
extends java.lang.Object
ListGridField.setSummaryFunction(SummaryFunction)
.Constructor and Description |
---|
GridSummaryCustomizer() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object[] |
getGridSummary(ListGridRecord[] records,
ListGridField field,
GroupSummary[] groupSummary)
If this grid is grouped, and ListGrid.showGroupSummary is true, this
method will be passed a third parameter - an array of group-level summaries.
|
public abstract java.lang.Object[] getGridSummary(ListGridRecord[] records, ListGridField field, GroupSummary[] groupSummary)
recordsrecords,
- records for which a summary is being generated.field,
- pointer to the field for which summary value is being generatedgroupSummary,
- If this grid is grouped and
ListGrid.showGridSummary is specified, this parameter contains
an array of already- calculated summary values for each group in the
grid. Each element in this array will be an object containing
calculated summary values for each field in the grid, as well as a
specified groupValue and groupName, allowing the developer to
determine which group this summary value comes from