This is a migrated thread and some comments may be shown as answers.

Custom Aggregate in Group Footer

3 Answers 212 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 10 Jun 2009, 06:04 PM
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

Sort by
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 to True:

More information is available in the link bellow.
Column Aggregates

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 12 Jun 2009, 04:05 PM
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.
0
Pavlina
Telerik team
answered on 16 Jun 2009, 01:45 PM
Hi Albert,

I suggest you review the following forum thread which elaborates on this subject:
Custom Aggregate on a templated column with grouping

Let me know if you need additional assistance.

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Pavlina
Telerik team
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Share this question
or