Skip to main content

GridCustomSummaryEventArgs.TotalValueReady Property

Specifies whether to skip the Calculate stage of the custom summary calculation.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public bool TotalValueReady { get; set; }

Property Value

Type Description
Boolean

true to skip the calculation stage; otherwise, false.

Remarks

The summary calculation consists of three stages:

  • Initialization

    The CustomSummary event fires once at this stage. The event’s SummaryStage property value is Start. Use this stage to initialize a summary value (for example, reset internal counters).

  • Calculation

    The CustomSummary event fires for each data row in a grid or in a group. The event’s SummaryStage property value is Calculate. Use this stage to calculate a summary value.

    You can set the TotalValueReady property to true at the Initialization stage to skip the Calculation stage and calculate a custom summary at the Initialization or Finalization stage.

  • Finalization

    The CustomSummary event fires once at this stage. The event’s SummaryStage property value is Finalize. Use this stage to assign the calculated summary value to the TotalValue property.

The TotalValueReady property allows you to interrupt the calculation during the Start stage. Note that you cannot interrupt the process in the other stages.

Refer to the GridCustomSummaryEventArgs class description for more information and an example.

See Also