Skip to main content

MVCxGridViewProperties.CustomSummaryCalculate Property

Enables you to calculate summary values manually.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CustomSummaryEventHandler CustomSummaryCalculate { get; set; }

Property Value

Type Description
CustomSummaryEventHandler

A CustomSummaryEventHandler delegate method allowing you to implement custom processing.

Remarks

Implement a CustomSummaryEventHandler delegate method and assign it to the CustomSummaryCalculate property. For more implementation details, refer to the CustomSummaryEventHandler delegate description.

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 ASPxSummaryItemBase.SummaryType property to SummaryItemType.Custom and provide implementation for the given CustomSummaryEventHandler delegate method.

See Also