com.smartgwt.client.widgets.grid
Interface RecordSummaryFunction
public interface RecordSummaryFunction
Function to produce a summary value based on field values within a record. Example usage is record-level summaries in
"summary" type ListGrid fields.
- See Also:
RecordSummaryFunctionType
getSummaryValue
Object getSummaryValue(Record record,
ListGridField[] fields,
ListGridField summaryField)
- Function to produce a summary value based on field values within a record.
- Parameters:
record
- the record for which the value is being calculatedfields
- array of listGridFields from which summaries should be calculatedsummaryField
- pointer to the summary type field on which the summary function is being run
- Returns:
- summary value