With the latest binaries, I can now successfully build a simple example that displays a RadGridView with aggregates. However, for each column header, an icon is shown that, when selected, produces a dropdown menu with a 'Clear Filter' option. When this is selected, a null exception is generated. Why?
I have attached the XAML where the RadGridView is defined:
<gridview:RadGridView x:Name="radGridView" Grid.Row="1" AutoGenerateColumns="True" |
HorizontalAlignment="Stretch"> |
<gridview:RadGridView.GroupDescriptions> |
<data:RadGroupDescription PropertyName="Category" SortDirection="Ascending"> |
<data:RadGroupDescription.AggregateFunctions> |
<data:CountFunction FunctionName="TotalNames" SourceField="Name" Caption="Total names:" /> |
<data:FirstFunction Name="FirstName" SourceField="Name" Caption="First name:" /> |
</data:RadGroupDescription.AggregateFunctions> |
</data:RadGroupDescription> |
</gridview:RadGridView.GroupDescriptions> |
</gridview:RadGridView> |
Additionally, if the user drags a column header into the drop zone, and the rows are re-grouped, the aggregates naturally disappear, but there seems to be no way for the user to get the aggregates back. This behavior is also shown in your online aggregate sample. Is this as designed?