GroupFooter on SubGroup Only

4 posts, 0 answers
  1. Kyle Jones
    Kyle Jones avatar
    30 posts
    Member since:
    Jul 2009

    Posted 05 Oct 2009 Link to this post

    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
  2. Kyle Jones
    Kyle Jones avatar
    30 posts
    Member since:
    Jul 2009

    Posted 05 Oct 2009 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 08 Oct 2009 Link to this post

    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.
  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 08 Oct 2009 Link to this post

    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.
Back to Top