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

Aggregates based on child group aggregates

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jmillar
Top achievements
Rank 1
jmillar asked on 25 Feb 2016, 04:11 PM

Hi all;

I'm struggling with the best way to approach this one.  I have a requirement for a grid with two levels grouping (outer and inner).  The inner group requires aggregates of the average of the detail lines in the group - no problem there.  The outer group, though, needs the average of the inner group results -- NOT the average of all the child detail lines.  Anybody have any suggestions how I should approach this?

Thanks,

Jason

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 26 Feb 2016, 03:05 PM
Hello Jason,

I am afraid this requirement is not supported out of the box. RadGrid provides custom aggregate possibility, but again it is based on per record logic:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/columns/aggregates

Generally, if paging is not enabled, you can traverse the child group headers and access their sub-aggregates, although this is very specific scenario and beyond our support scope:
http://www.telerik.com/forums/custom-aggregate-on-a-templated-column-with-grouping

Regards,
Eyup
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
jmillar
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or