Can someone provide an example of creating a custom aggrgate in a Group Footer? Specifically, I'm not sure how to process the
CustomAggregate
event so that I can calculate the custom value for each group (in other words, not for the enitre data source).
3 Answers, 1 is accepted
0
Pavlina
Telerik team
answered on 12 Jun 2009, 02:43 PM
Hi Albert,
The grid calculates aggregated values if the ShowFooter property is set to True. The grid footer displays aggregates that are calculated based on all the data from the data source, except for any values that are excluded by a filter expression.
When grouping is enabled in the column, you can display group aggregates by setting the ShowGroupFooter property toTrue:
Thanks, but I have already looked at all of your online documentation. Nowhere is there an example, as far as I could tell, of how to implement the CustomAggregate event handler, and particularly, how to do so in a grouped grid scenario.