Summary
Feature
A special version of the Grid Summary feature. This feature displays a summary row in the grid footer.
For regular columns in the locked section - specify type of summary on columns, available types are:
| Type | Description |
|---|---|
sum |
Sum of all values in the column |
add |
Alias for sum |
count |
Number of rows |
countNotEmpty |
Number of rows containing a value |
average |
Average of all values in the column |
function |
A custom function, used with store.reduce. Should take arguments (sum, record) |
Columns can also specify a summaryRender to format the calculated sum.
To summarize events, either provide a renderer or use summaries
This feature is disabled by default.
See also
- GroupSummary - Group summary rows
- TimelineSummary - Base timeline summary
- EventModel - Event data model
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
A config object for the Column used to contain the summary bar.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of Summary class, or subclass thereof.
-
Identifies an object as an instance of Summary class, or subclass thereof.
Functions
Functions are methods available for calling on the class-
updateTimelineSummaries( )private
Updates summaries.