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

Aggregate with more than one column

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Salvador
Top achievements
Rank 1
Salvador asked on 03 Nov 2012, 08:59 AM
Al last,
i found one post good.

http://www.telerik.com/community/forums/silverlight/gridview/custom-aggregate-two-columns.aspx
Thanks.


Hi, I see some post with this, but don't understand solution.

I have five columns:
Country
Town
Company
Kg_to_send
Kg_send

I need a Aggregate, that when grouping  by country, town, company... said:
Kg_to_send = 1958 , Kg_send = 1845, %=94.22
H
ow i made this?
Can you send me a sample?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 05 Nov 2012, 07:00 AM
Hi,

You could achieve your goal using a Custom Generic Aggregate. Please check this demo for an example on how to do so.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Salvador
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or