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`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `getSummaryValue(Record record, ListGridField[] fields, ListGridField summaryField)` Function to produce a summary value based on field values within a record.

- - ### Method Detail

    - #### getSummaryValue

          java.lang.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 calculated
        `fields` - array of listGridFields from which summaries should be calculated
        `summaryField` - pointer to the summary type field on which the summary function is being run
      Returns:
        summary value