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

Group Footer not showing after expanding group

2 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eli Yaacoby
Top achievements
Rank 1
Eli Yaacoby asked on 12 Apr 2010, 11:05 PM

Using RadGrid (asp.net 2.0) VS 2008, my grouped items are collapsed. I am grouping by multiple items, the initial view looks good, once I expand, I do not see the aggregate value. I have attached an image before and after expanding.

        <telerik:RadGrid ID="grid" runat="server" 
            DataSourceID="LinqDataSource1" AutoGenerateColumns="False"   
            AllowSorting="True" 
            GridLines="None" ShowGroupPanel="True" ShowFooter="true"   
            ongroupschanging="OnGroupChanged" Skin="WebBlue" 
             > 
            <ClientSettings AllowDragToGroup="true" AllowColumnsReorder="true"   
                ReorderColumnsOnClient="True"></ClientSettings> 
            <MasterTableView GroupsDefaultExpanded="false" ShowGroupFooter="true">  
                <Columns> 
                    <telerik:GridBoundColumn DataField="Participant" HeaderText="Participant"   
                        SortExpression="Participant" UniqueName="Participant">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="activityType" HeaderText="Activity Type"   
                        SortExpression="activityType" UniqueName="activityType">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Items" HeaderText="Items"  Groupable="false" 
                        SortExpression="Items" UniqueName="Items" Aggregate="sum" FooterText="Total: " FooterAggregateFormatString="Total: {0:###,###}">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="EntityType" HeaderText="Entity Type"   
                        SortExpression="EntityType" UniqueName="EntityType">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Entity" HeaderText="Entity"   
                        SortExpression="Entity" UniqueName="Entity">  
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="Region" HeaderText="Region"   
                        SortExpression="Region" UniqueName="Region">  
                    </telerik:GridBoundColumn> 
                </Columns> 
                <GroupByExpressions> 
                    <telerik:GridGroupByExpression> 
                        <GroupByFields> 
                            <telerik:GridGroupByField fieldName="Participant" /> 
                        </GroupByFields> 
                        <SelectFields> 
                            <telerik:GridGroupByField fieldName="Participant"  HeaderText="Participant" /> 
                        </SelectFields> 
                    </telerik:GridGroupByExpression> 
                    <telerik:GridGroupByExpression> 
                        <GroupByFields> 
                            <telerik:GridGroupByField fieldName="activityType" /> 
                        </GroupByFields> 
                        <SelectFields> 
                            <telerik:GridGroupByField fieldName="activityType"  HeaderText="Activity Type" /> 
                        </SelectFields> 
                    </telerik:GridGroupByExpression> 
                    <telerik:GridGroupByExpression> 
                        <GroupByFields> 
                            <telerik:GridGroupByField fieldName="EntityType" /> 
                        </GroupByFields> 
                        <SelectFields> 
                            <telerik:GridGroupByField fieldName="EntityType"  HeaderText="Entity Type" /> 
                        </SelectFields> 
                    </telerik:GridGroupByExpression> 
                </GroupByExpressions> 
            </MasterTableView>        
                                
        </telerik:RadGrid> 
      
 

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Apr 2010, 09:11 AM
Hello Eli ,

I tried to replicate the issue you are facing on the online demo below, but unfortunately to no avail.
Group Footers

Please, examine it and see if it works for you.

All the best,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Eli Yaacoby
Top achievements
Rank 1
answered on 13 Apr 2010, 01:42 PM
Your sample helped me resolve it. I had to the set the:

RetainGroupFootersVisibility (<GroupingSettings RetainGroupFootersVisibility="true" /> )

 

 

 

 

atrtribute to true

Thanks!

Tags
Grid
Asked by
Eli Yaacoby
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Eli Yaacoby
Top achievements
Rank 1
Share this question
or