This code example demonstrates how to implement a conditional summary for grouped columns. In this example, an ASPxGridView is created with two grouped columns, a custom summary is set for the UnitsInStock column and the ASPxGridView.CustomSummaryCalculate event is handled. The summary is calculated depending on the Discontinued column.
↧