TcxCustomTreeList.OnSummary Event
Enables you to perform custom summary calculations.
Declaration
property OnSummary: TcxTreeListSummaryEvent read; write;
Remarks
Sender specifies the tree list.
Arguments and OutArguments specify the passed arguments and the resulting data of the performed calculation.
Values include:
TcxTreeListSummaryEventArguments
| Field | Description |
|---|---|
| Node | Specifies the currently processed node. |
| SummaryItem | Specifies summary settings. |
TcxTreeListSummaryEventOutArguments
| Field | Description |
|---|---|
| Value | Specifies the value of a node’s data cell that belongs to the column used in a calculation. |
| SummaryValue | Specifies the summary value that has been calculated for the previously processed nodes. |
| CountValue | Specifies the number of nodes that have already been processed. |
| Done | Specifies whether default calculation is required. Set Done to True, to prevent default calculation. |
Refer to the Creating Summaries help topic for details.
See Also