BootstrapCardViewBuilderBase<T>.OnCustomSummaryCalculate(Action<IBootstrapCardView, IBootstrapCardViewCustomSummaryEventArgs>) Method
Enables you to calculate summary values manually.
Namespace: DevExpress.AspNetCore.Bootstrap
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public T OnCustomSummaryCalculate(
Action<IBootstrapCardView, IBootstrapCardViewCustomSummaryEventArgs> action
)
#Parameters
Name | Type | Description |
---|---|---|
action | Action<IBootstrap |
Contains data related to this event. |
#Returns
Type | Description |
---|---|
T | A reference to this instance after the operation is completed. |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
Total summaries and group summaries provide five predefined aggregate functions. These functions allow you to calculate the number of rows, the maximum and minimum values, the sum and the average value. If you need to calculate a summary value using an aggregate function not included in the predefined set, set the summary item’s SummaryType property to Custom and handle the CustomSummaryCalculate event.
The CustomSummaryCalculate event fires for each 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, the event fires for each data row within the currently processed group. Additionally, the event is raised before and after processing rows. This can be used to perform any initialization and finalization.
NOTE
The Custom