TreeListCustomSummaryEventArgs.SummaryStage Property
Specifies a calculation stage.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
public TreeListCustomSummaryStage SummaryStage { get; }
#Property Value
Type | Description |
---|---|
Tree |
An enumeration value. |
Available values:
Name | Description |
---|---|
Start | The Custom |
Calculate | The Custom |
Finalize | The Custom |
#Remarks
The summary calculation consists of three stages:
- Initialization
- The CustomSummary event fires once at this stage. The event’s
SummaryStage
property value isStart
. Use this stage to initialize a summary value (for example, reset internal counters). - Calculation
- The CustomSummary event fires for each data row in a TreeList. The event’s
SummaryStage
property value isCalculate
. Use this stage to calculate a summary value. - Finalization
- The CustomSummary event fires once at this stage. The event’s
SummaryStage
property value isFinalize
. Use this stage to assign the calculated summary value to the TotalValue property.
You can interrupt summary calculations at any time. To do so, set the TotalValueReady event argument to true
.
Refer to the DxTreeListSummaryItem and TreeListCustomSummaryEventArgs class descriptions for more information and examples.