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

Summary in Grouping

1 Answer 26 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deven
Top achievements
Rank 1
Deven asked on 17 Jun 2009, 03:26 PM
I saw the example of how we can display summary in the group headers. I implmented that and it works absolutely fantastic. By adding a few additional xaml lines, I was able to achieve very complex task.

However, I did notice one thing. At runtime, if I delete all the columns from grouping and then add them back, I do not see the summary. Is there any work around this?

Secondly, To allow summary to show, I had to define the  groupings in the xaml. Now is there a way I can programmatically remove or add groupings and enable summary ?

Lastly, is there a way to set all the group details collapsed by default?

Thanks
Deven

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 19 Jun 2009, 01:03 PM
Hello Deven,

Everytime you group a new RadGroupDescription is created, which mean that the aggregate function are not preserved. For Q2 we will have a solution to this problem by storing the aggregate functions at the column level but for now you can create a class that manually preserves the aggregate functions.

I have prepared a sample application that demonstrates how you can preserve aggregate functions. The sample also shows how you can create a group description from code and how you can collapse all groups before the grid is shown.

Hope this helps.

Best wishes,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Deven
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or