MVCxGridViewProperties.CustomSummaryCalculate Property

Enables you to calculate summary values manually.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public CustomSummaryEventHandler CustomSummaryCalculate { get; set; }
Public Property CustomSummaryCalculate As CustomSummaryEventHandler

Property Value

Type Description

A CustomSummaryEventHandler delegate method allowing you to implement custom processing.


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