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

How to set height of a GridViewGroupFooterRow?

2 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paul McNamara
Top achievements
Rank 1
Paul McNamara asked on 27 Oct 2011, 06:34 PM
I've managed to do it for a GridViewFooterRow by creating a style and overriding the MinHeight property but the same does not work for the grouped footer. I can see in Silverlight Spy that the MinHeight is set to 25 and the style is not being obeyed. I've tried both a global implicit style and also setting the style explicitly via the GroupFooterRowStyle property of the RadGridView. Is there something extra I need to do?

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 31 Oct 2011, 03:25 PM
Hi Paul Mcnamara,

 Have you tried setting a style like so:

<telerik:RadGridView Grid.Row="0" ItemsSource="{Binding Clubs}"
                             ShowColumnFooters="True">
            <telerik:RadGridView.FooterRowStyle>
                <Style TargetType="telerik:GridViewFooterRow">
                    <Setter Property="MinHeight"  Value="50"/>
                </Style>
            </telerik:RadGridView.FooterRowStyle>
</telerik:RadGridView>

Please try this code snippet and let me know if you have any problems?

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Paul McNamara
Top achievements
Rank 1
answered on 04 Nov 2011, 06:28 PM
It's the GridViewGroupFooterRow I'm trying to set the MinHeight of. The implicit style works fine for the GridViewFooterRow. Implicit, StaticResource or inline styles don't seem to work. My RadGridView version is 2011.1.419.1040.

I'd hate to have to update to a service pack as everything else works just fine and the last update I tried introduced problems.
Tags
GridView
Asked by
Paul McNamara
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Paul McNamara
Top achievements
Rank 1
Share this question
or