My grouping code with showing an aggregate function is working on initial load, but when removing the grouping, then adding it back, the group doesn't show the aggregate function again.
I've added the following code to my manually configured radgridview to allow grouping and to display a count. As I said, on initial load, the aggregate function works fine. See image grouped_initial.png
If I remove the 'Current Status' (clicking the little X) grouping I see all the data, and this is expected. If I drag this same column that has the aggregate function ('StatusDescription') back to the grouping window I lose the aggregate function that was created in the xaml above. See image grouped_again_after_ungrouping.png. Am I missing something to get the function to fire again?
FYI, we're using MVVM.
I've added the following code to my manually configured radgridview to allow grouping and to display a count. As I said, on initial load, the aggregate function works fine. See image grouped_initial.png
<
telerikGrid:RadGridView.GroupDescriptors
>
<
telerikData:GroupDescriptor
Member
=
"StatusDescription"
DisplayContent
=
"Current Status"
>
<
telerikData:GroupDescriptor.AggregateFunctions
>
<
telerikData:CountFunction
Caption
=
"Count: "
/>
</
telerikData:GroupDescriptor.AggregateFunctions
>
</
telerikData:GroupDescriptor
>
</
telerikGrid:RadGridView.GroupDescriptors
>
If I remove the 'Current Status' (clicking the little X) grouping I see all the data, and this is expected. If I drag this same column that has the aggregate function ('StatusDescription') back to the grouping window I lose the aggregate function that was created in the xaml above. See image grouped_again_after_ungrouping.png. Am I missing something to get the function to fire again?
FYI, we're using MVVM.