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

RadGridView: Huge Space between last row and footer

1 Answer 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gautam
Top achievements
Rank 1
Gautam asked on 23 Feb 2012, 11:57 PM
I believe this is quite a common issue.

When I include the Aggregate function for a column in the RadGridView, there is a lot of space between the last row and the footer.  I am not setting any height to the grid.

<telerik:RadGridView AutoExpandGroups="True"
                                  AutoGenerateColumns="False"
                             CanUserFreezeColumns="False"
                             ShowGroupPanel="False"
                             Grid.Row="1"
                             ItemsSource="{Binding Path=Items}"
                               IsBusy="{Binding Path=IsLoading}"
                             ShowColumnFooters="True">

Any clue to how this can be fixed?  I have attached a screen shot of the Grid. 

1 Answer, 1 is accepted

Sort by
0
Gautam
Top achievements
Rank 1
answered on 24 Feb 2012, 07:13 PM
I was able to resolve this.  

This behavior is based on the grid's height.  The footer will always show at the bottom of the grid, and if the number of rows in the grid are less compared to the grid's height, then the blank space makes up the difference between the last row and the footer. 

I set the grid's height to auto and this made the blank space go away. (This reduced the height of the grid)

Tags
GridView
Asked by
Gautam
Top achievements
Rank 1
Answers by
Gautam
Top achievements
Rank 1
Share this question
or