This question is locked. New answers and comments are not allowed.
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
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