I have an Aggregate function on one of the data columns of a grid, but when the grid loads the header summation is not shown, but when I drag and group by the column the header aggregate is shown. Could you please advice what I am doing wrong? My Header aggregate function is as below, and by default when the grid loads.. I want the grid to be grouped by region, and the total exceptions shown on the header..
<
telerikGridView:RadGridView Margin="0,8,0,0" AutoGenerateColumns="False" DataContext="{Binding Source={StaticResource ExceptionDetailSource}}" ItemsSource="{Binding ExceptionDetail_Collection}"
ShowGroupFooters="True" ShowColumnFooters="False" x:Name="ExceptionGrid" SelectionMode="Multiple">
<telerikGridView:RadGridView.GroupDescriptors>
<telerikData:GroupDescriptor Member="Region"/>
</telerikGridView:RadGridView.GroupDescriptors>
<telerikGridView:RadGridView.ChildTableDefinitions>
<telerikGridView:GridViewTableDefinition/>
</telerikGridView:RadGridView.ChildTableDefinitions>
<!--This is where the Exceptions list starts-->
<telerikGridView:RadGridView.Columns>
<telerikGridView:GridViewSelectColumn Header="Adjust" IsVisible="True"/>
<telerikGridView:GridViewDataColumn Header="Region" DataMemberBinding="{Binding Region}" IsVisible="True"/>
<telerikGridView:GridViewDataColumn Header="Exception ID" DataMemberBinding="{Binding Exception_ID}" IsReadOnly="True">
<telerikGridView:GridViewDataColumn.AggregateFunctions>
<telerikData:CountFunction ResultFormatString="{} Total Exceptions:{0} "/>
</telerikGridView:GridViewDataColumn.AggregateFunctions>
</telerikGridView:GridViewDataColumn>