This is a migrated thread and some comments may be shown as answers.

GridView Footer Question

7 Answers 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
zhu
Top achievements
Rank 1
zhu asked on 03 Dec 2010, 10:13 AM
First The gridview is grouped
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

Sort by
0
zhu
Top achievements
Rank 1
answered on 03 Dec 2010, 10:15 AM
this is the question image
0
zhu
Top achievements
Rank 1
answered on 03 Dec 2010, 10:16 AM
please solve it quickly

Thanks
0
Maya
Telerik team
answered on 03 Dec 2010, 10:24 AM
Hi zhu,

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.
 

Kind regards,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
zhu
Top achievements
Rank 1
answered on 03 Dec 2010, 10:46 AM
column is dynamic add
0
zhu
Top achievements
Rank 1
answered on 03 Dec 2010, 10:48 AM

 <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>

0
zhu
Top achievements
Rank 1
answered on 03 Dec 2010, 10:49 AM
you can see image.

I drag it to group. there is no problem.
0
Maya
Telerik team
answered on 03 Dec 2010, 02:34 PM
Hello zhu,

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.

All the best,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
zhu
Top achievements
Rank 1
Answers by
zhu
Top achievements
Rank 1
Maya
Telerik team
Share this question
or