Gets or sets whether the Calculation stage of the custom summary calculation process should be skipped.
Total and group summaries provide five predefined aggregate functions (Count, Max, Min, Sum and Average). To calculate a summary value using a custom rule, set the summary item's GridColumnSummary.Type property to SummaryType.Custom and handle the CalculateCustomSummary event.
The CalculateCustomSummary event fires for each data row involved in summary calculation. When calculating a total summary value, the event is raised for each data row. When calculating a group summary value, this event fires for each data row within a group. To enable you to perform any initialization and finalization, the event is also raised before and after processing rows.
To skip the Calculation stage and calculate a custom summary at the Initialization or Finalization stage, set the event parameter's CustomSummaryEventArgs.TotalValueReady property to true at the Initialization stage. This automatically skips the Calculation stage and the Finalization stage starts immediately.
This example demonstrates how to use predefined aggregate functions and custom rule to calculate group and total summaries for grid columns.
Set the group summary to display the maximum Total value for each group of records.
Set the total summary to calculate the sum of values in the Total column.
Set the custom total summary to count the number of orders whose value in the Shipped column is false (to count orders that are not shipped).