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

Aggregatefunctions in Groupdescrptors disappear after DataLoading

1 Answer 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ATeam
Top achievements
Rank 1
ATeam asked on 23 Jun 2010, 07:57 AM
Hello.

I'm using RadGridView for displaying grouped data, which is bound to a CollectionViewSource.

I have defined a groupdescriptor with 3 aggregate functions. These are coded similar to the examples from the documentation.

When the collection was changed and the page was loaded again, the grid looses all group descriptors.

I tried to solve the problem, by defining groups in the collectionviewsource. I declared a PropertyGroupDescription. It seems that the group descriptions replaced the groupdescriptor. So I got a grouping in the grid, but without the aggregate functions.

I got a workaround for this, by adding everytime the collectionviewsource is changed the groupdescriptor and the aggregate functions to the grid and also in the page loaded event. But I am not very happy with this solution, hopefully there is a better way.

best regards

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 28 Jun 2010, 05:37 PM
Hello Dominik Fürst,

I have tried to replicate your issue locally, but everything works as expected on my end. Can you please modify my sample project to illustrate exactly how the group descriptors aggregates are cleared? You can find my project attached to this forum thread.

Best wishes,
Stefan Dobrev
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
ATeam
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or