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

GroupFooter on SubGroup Only

3 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kyle Jones
Top achievements
Rank 1
Kyle Jones asked on 05 Oct 2009, 03:13 PM
Hey,

I have a radgrid on my site and I have a nested group inside of a main group.  I need to have the group footer on my grid but I do not want a footer to appear on my outer group.

<GroupByExpressions> 
                    <telerik:GridGroupByExpression> 
                        <GroupByFields> 
                            <telerik:GridGroupByField FieldName="CoverageType" /> 
                        </GroupByFields> 
                        <SelectFields> 
                            <telerik:GridGroupByField FieldName="CoverageType" HeaderText="Coverage" /> 
                        </SelectFields> 
                    </telerik:GridGroupByExpression> 
                    <telerik:GridGroupByExpression> 
                        <GroupByFields> 
                            <telerik:GridGroupByField FieldName="CoverageItem" /> 
                        </GroupByFields> 
                        <SelectFields> 
                            <telerik:GridGroupByField FieldName="CoverageItem" HeaderText="Coverage Item" /> 
                        </SelectFields> 
                    </telerik:GridGroupByExpression> 
                </GroupByExpressions> 

The top group is my outer group and I do not want that group to have a footer but I want the CoverageItem group to have a footer.  Is there a way that I can disable the outer footer so it does not have a double footer at the bottom of every group,

Thanks,

Kyle Jones

3 Answers, 1 is accepted

Sort by
0
Kyle Jones
Top achievements
Rank 1
answered on 05 Oct 2009, 04:45 PM
Hey,

If someone can give me a quick answer to this I would greatly appreciate it.  I am on a deadline and need to have all of this working properly by tonight and dont want to have to come up with a quick solution at the last minute.


Thanks,

Kyle
0
Yavor
Telerik team
answered on 08 Oct 2009, 09:23 AM
Hello Kyle,

Although there is no such setting, which would enable this behavior automatically, you can dynamically get a reference to the GridGroupFooter item(s), and hide them.
I hope this is a feasible approach for you.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Yavor
Telerik team
answered on 08 Oct 2009, 09:23 AM
Hello Kyle,

Although there is no such setting, which would enable this behavior automatically, you can dynamically get a reference to the GridGroupFooter item(s), and hide them.
I hope this is a feasible approach for you.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Kyle Jones
Top achievements
Rank 1
Answers by
Kyle Jones
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or