How do I move the Column Footers to the top?

4 posts, 1 answers
  1. Ryan
    Ryan avatar
    4 posts
    Member since:
    Nov 2014

    Posted 22 Mar 2015 Link to this post

    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
  2. Answer
    Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Mar 2015 Link to this post

    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.

     
  3. Ryan
    Ryan avatar
    4 posts
    Member since:
    Nov 2014

    Posted 23 Mar 2015 Link to this post

    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
  4. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 24 Mar 2015 Link to this post

    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.

     
Back to Top