Angular DataGrid - Summary
calculateCustomSummary
Specifies a custom aggregate function. This function is called for summary items whose summaryType is "custom".
Name | Type | Description |
---|---|---|
component |
The UI component's instance. |
|
groupIndex |
A zero-based group level. Available only when calculating group summary items. |
|
name |
The summary item's name. |
|
summaryProcess |
Indicates the stage of the summary item calculation; equals "start", "calculate" or "finalize". |
|
totalValue | any |
The resulting summary item's value. |
value | any |
A column value used to calculate the summary. If you need an entire data object in this field, do not specify the summary item's column property. To display the summary in this case, use the showInColumn property instead. |
skipEmptyValues
Specifies whether to skip empty strings, null and undefined values when calculating a summary. Does not apply when you use a remote data source.
If you have technical questions, please create a support ticket in the DevExpress Support Center.