when I first login this page. There is some filed not showGroupfooter Aggregation value(filed:Price)
when I have logined in this page. I drag it to group. the GridView show Group footer is right(field:Price)
7 Answers, 1 is accepted
Thanks
In order to provide you with an appropriate solution, I would need a bit more details. What are your RadGridView settings ? Which data is not correct ? How do you define your GroupDescriptors ?
As more valuable and relevant information you provide, as faster and more appropriate our solution will be.
Maya
the Telerik team
<libraryData:CustomDataGrid Visibility="Visible"
x:Name="dataHoldingDataGrid"
AutoGenerateColumns="False"
ItemsSource="{Binding}"
ShowGroupPanel="True"
Margin="5"
IsReadOnly="False"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
CanUserFreezeColumns="True"
CanUserResizeColumns="True"
RowLoaded="dataHoldingDataGrid_RowLoaded"
CanUserReorderColumns="False"
ClipboardCopyMode="All"
SelectionMode="Single"
EnableColumnVirtualization="False"
EnableRowVirtualization="False"
GridLinesVisibility="Horizontal"
IsFilteringAllowed="True"
ShowGroupFooters="True"
ShowColumnFooters="True"
IsSynchronizedWithCurrentItem="False"
FrozenColumnCount="{Binding Value,ElementName=defaultRadSlider,Mode=TwoWay}">
<telerik:RadGridView.GroupRowStyle>
<Style TargetType="telerikGridView:GridViewGroupRow">
<Setter Property="Template" Value="{StaticResource GridViewGroupRowTemplate}"/>
<Setter Property="ShowHeaderAggregates" Value="False" />
</Style>
</telerik:RadGridView.GroupRowStyle>
<navigate:RadContextMenu.ContextMenu >
<navigate:RadContextMenu Opened="rightContextMenu_Opened" ItemClick="ContextMenu_ItemClick">
</navigate:RadContextMenu>
</navigate:RadContextMenu.ContextMenu>
<telerik:RadGridView.ChildTableDefinitions>
<telerik:GridViewTableDefinition>
<telerik:GridViewTableDefinition />
</telerik:GridViewTableDefinition>
</telerik:RadGridView.ChildTableDefinitions>
<telerik:RadGridView.HierarchyChildTemplate>
<DataTemplate>
<telerik:RadGridView VerticalAlignment="Stretch" IsFilteringAllowed="False" HorizontalAlignment="Stretch"
ShowGroupFooters="False" ShowColumnFooters="False" Loaded="RadGridView1_Loaded" CanUserFreezeColumns="False" AutoGenerateColumns="False" ShowGroupPanel="False" IsReadOnly="True">
<telerik:RadGridView.GroupRowStyle>
<Style TargetType="telerikGridView:GridViewGroupRow">
<Setter Property="ShowHeaderAggregates" Value="False" />
</Style>
</telerik:RadGridView.GroupRowStyle>
</telerik:RadGridView>
</DataTemplate>
</telerik:RadGridView.HierarchyChildTemplate>
</libraryData:CustomDataGrid>
I drag it to group. there is no problem.
Using the code-snippet you provided, I have tried to reproduce your issue. However, you have some custom elements that I am not aware of. Consequently, neither could I recreate your exact scenario, nor I could reproduce your issue.
I am sending you the sample project I used for testing the case. Feel free to change it in the way you want so that it meets your requirements and send it back if necessary. Furthermore, please give me more details about the steps I need to follow in order to achieve your exact scenario and what exactly are the wrong and correct results.
Maya
the Telerik team