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

Real CustomAggregate group footer example needed.......

2 Answers 220 Views
Grid
This is a migrated thread and some comments may be shown as answers.
540YMX
Top achievements
Rank 1
540YMX asked on 10 Feb 2010, 09:24 AM
Searched everywhere for a good example where a column with Aggregate = "Custom" performs a calculation based on the values of 2 or more other group footer values

Plenty of requests for help but replies don't really seem to get the issue and keep referring to online help/samples which don't appear to address the problem other than identifying the OnCustomAggregate event.

The closest useful example I have seen is:-

http://www.telerik.com/community/forums/aspnet-ajax/grid/how-do-the-built-in-footer-aggregate-functions-work.aspx but this only deals with manipulating the group footer value based on the line item value.


What I am interested in is to have a grid calculate the Cancel % in each footer based on values in the group footer for Total & Cancel:

Group 1
Total    Complete    Cancel    Cancel %
100            50               50         50% 
200           180              20         10%
300            225            75          25%
Group Footer 1
600            455            145        24.2%

Group 2
Total    Complete    Cancel    Cancel %
200           150             0           50% 
300           270             30         10%
400           320            80          20%
Group Footer 2
900            740          110        12.2%

Thanks

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 15 Feb 2010, 02:50 PM
Hello,

Please find attached a sample project illustrating RadGrid Custom aggregate handling.

I hope this helps.

Sincerely yours,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Thai
Top achievements
Rank 1
answered on 14 May 2011, 12:48 AM
Do you have an example for us to see it before start loading the codes?
Tags
Grid
Asked by
540YMX
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Thai
Top achievements
Rank 1
Share this question
or