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

Group Header with Aggregated Functions

1 Answer 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David Ribb
Top achievements
Rank 1
David Ribb asked on 10 Apr 2010, 07:19 PM
How do I turn off the results of the aggregated functions on the group header?

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 12 Apr 2010, 01:21 PM
Hello David Ribb,

As I understand, you want to have aggregate functions for the groups, but not to show them in the Group Header. In this case you could create your own custom GroupRowStyle, delete its declaration of the field for aggregate functions and use it as a Resource for the grid 
<telerik:RadGridView Name="playersGrid" 
              GroupRowStyle="{DynamicResource GridViewGroupRowStyle}"/>
 In that way your own functions will appear only in the GroupFooter (the property of the grid "ShowGroupFooters" has to be set to "true"). Here, the function I use is "total". Furthermore, in case you want to show the function for the whole grid, not only for the group, you should set the property of the grid "ShowColumnFooters" to "true". 

I hope this will help.

Kind regards,
Maya
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.
Tags
GridView
Asked by
David Ribb
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or