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

subtotals in hierarchy radgrid

4 Answers 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
d-cpt
Top achievements
Rank 2
d-cpt asked on 21 Oct 2008, 06:41 PM
I have a 3-level hierarchy radgrid as:
State name
    County name
        Township name - population
I can get subtotal for township population using Aggregate=Sum
Is that possible to get each County population total , State population, and all states population grand total?
Regards,

d-cpt


4 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 Oct 2008, 12:03 PM
Hello d-cpt,

You can use footer aggregates on per-table basis.
Let me know how this meets your requirements.

All the best,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
d-cpt
Top achievements
Rank 2
answered on 23 Oct 2008, 01:08 PM
Hi Yavor,

Thank you for your reply. I actually did as you said. My grid is exactly like the 3-level hierarchy radgrid example. Yet, I can get the subtotal for each  townships of a County by using footer Aggregate=Sum.
May you give a tip for add a subtotal of a state and a grand total of all states.

Regards,

d-cpt
0
Accepted
Yavor
Telerik team
answered on 27 Oct 2008, 11:05 AM
Hello d-cpt,

Basically, if you would like to perform custom calculations on the control, you can use an approach similar to this one - adding the values one you perform the calculations.
I hope this gets you started properly.

Sincerely yours,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
d-cpt
Top achievements
Rank 2
answered on 27 Oct 2008, 01:03 PM
Thank you, Yavor.

Regards,

d-cpt
Tags
Grid
Asked by
d-cpt
Top achievements
Rank 2
Answers by
Yavor
Telerik team
d-cpt
Top achievements
Rank 2
Share this question
or