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

Column Footer positioning

2 Answers 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian Graves
Top achievements
Rank 1
Brian Graves asked on 14 Jun 2010, 04:53 PM
I'm getting some weird results (by default) when I show my column footer.  First of all, my grid doesn't automatically get sized based off the number of rows in my grid.  For example, if my grid initially takes up half my page with only 3 rows to bind to it, the grid stays the same size and my footer is shown all the way at the bottom instead of below my 3 rows. Therefore, I have to resize the DIV where my grid object resides based of the number of rows which is 26 pixels (approximately the size of each row) times the number of rows plus the space above the rows (161 pixels in my case).  This looks fine on my machine in most cases...in other caes, the grid is either too small or too big.  Secondly, if the user decides to do grouping on the columns, the grid doesn't automatically resize and the footer remains all the way at the bottom (leaving a huge space gap between the group rows and the footer).  Is there a better way to handle the first issue?  How can I deal with the second issue?

2 Answers, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 15 Jun 2010, 03:44 PM
Hello Brian Graves,

You can set the property of the grid VerticalAlignment in the following way:

<telerik:RadGridView Name="playersGrid" ShowColumnFooters="True"     VerticalAlignment="Top">


Thus the footers will go right below the appropriate columns without leaving free space in-between.

Regards,
Maya
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
Brian Graves
Top achievements
Rank 1
answered on 15 Jun 2010, 05:35 PM
Thanks.  This worked great!  :)
Tags
GridView
Asked by
Brian Graves
Top achievements
Rank 1
Answers by
Maya
Telerik team
Brian Graves
Top achievements
Rank 1
Share this question
or