vcl-cxcustomdata-dot-tcxcustomdatasummaryitem-dd755e4f.md
Specifies the summary calculation algorithm.
property Kind: TcxSummaryKind read; write; default skNone;
| Type | Default | Description |
|---|---|---|
| TcxSummaryKind | skNone |
The active summary calculation algorithm.
|
Use the Kind property to switch between predefined summary calculation algorithms.
Tip
To implement a custom summary calculation algorithm, handle the OnSummary event of the parent summary item collection.
This section lists all possible Kind property values for group and footer summaries.
Default. The summary item does not calculate a summary for the source data item.
This option is useful if you need to define a custom summary value within the parent data controller‘s Summary.OnAfterSummary event handler.
skSumSums all record values in a group.skMinIdentifies the lowest value among all record values in a group.skMaxIdentifies the highest value among all record values in a group.skCountReturns the number of records in a group.skAverageCalculates the average of all record values in a group.
skSumSums all record values of the source data item.skMinIdentifies the lowest value among all record values of the source data item.skMaxIdentifies the highest value among all record values of the source data item.skCountReturns the total number of records.skAverageCalculates the average of all record values in the source data item.
The Kind property’s default value is skNone.
See Also
TcxCustomDataSummaryItem Class