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

How to custom header Group row when Grouping?

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Minh
Top achievements
Rank 1
Minh asked on 04 Nov 2014, 07:39 AM
Hi everyone, 
i have a radgridview, 3 columns (customerLastName, customerFirstName, Money). 
When it might groupby by customerLastName, i want to group header row is "customerLastName + total  of Money". 
ex:

Amy - 5,000,000
    Barbara 2,000,000$
    Belinda 2,000,000$
    Emily    1,000,000$

how to implement it?
tks.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 Nov 2014, 01:57 PM
Hello,

You can define aggregate function to calculate the total of money. For example you can check the Aggregates demo on the WPF ExamplesYou can also redefine the GroupHeaderTemplate and specify a proper DataTemplate for it. 

I hope this helps.


Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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