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

How do I move the Column Footers to the top?

3 Answers 367 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 22 Mar 2015, 09:06 PM
Right now I have the ShowColumnFooters option set to "True" on my RadGridView.  It is showing totals for various columns as expected in a special row at the bottom.  How do I move this row to the top of the grid just below the column headers row?  

Thanks
Ryan

3 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 23 Mar 2015, 08:35 AM
Hi Ryan,


I have prepared an example for you that demonstrates how to show GridViewFooterRow under the GridViewHeaderRow through editing the template of RadGridView.

Please check the attachment and let me know how I can assist you further.


Regards,
Vanya Pavlova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Ryan
Top achievements
Rank 1
answered on 24 Mar 2015, 12:38 AM
Thanks Vanya for the sample.  I cut out the style and put it into my own test project and it seems to give me the functionality that I am looking for.  The only downside is I don't completely understand the style XAML code at the moment.  Is this the simplest way to move the column footer from the bottom of the grid to the top?  I probably need to read the documentation on styling the grid so that it all makes sense to me.

Thanks
Ryan
0
Vanya Pavlova
Telerik team
answered on 24 Mar 2015, 09:11 AM
Hello Ryan,


Thank you for getting back to us. The main differences in the mark-up are the following:

1. GridViewFooterRow is extracted from GridViewScrollViewer and repositioned according to the header row with some additional margin applied. 

2. GridViewVirtualizingPanel has some additional margin of 25 pixels, otherwise it will hide the footer.


Regards,
Vanya Pavlova
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
Ryan
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Ryan
Top achievements
Rank 1
Share this question
or