Merge Footer Cells?

9 posts, 0 answers
  1. Arpit
    Arpit avatar
    49 posts
    Member since:
    Nov 2010

    Posted 20 Dec 2010 Link to this post

    I don't need the border-less cells but I need to really merge two footer cells. Is it possible to merge footer cells of two consecutive columns?

    I need to enter some text in the footer cell but width of the column is too short to display that text. This is why I need to merge the footer cells.

    Any suggestions?
  2. Arpit
    Arpit avatar
    49 posts
    Member since:
    Nov 2010

    Posted 20 Dec 2010 Link to this post

    Anyone?
  3. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 20 Dec 2010 Link to this post

    Hi Arpit,

    You may predefine the FooterCellStyle of the two consecutive columns. I am sending you a sample project illustrating the proposed solution. Another approach may be to define the Width property of the Column. Thus the column footer will also be sized accordingly. 

    Greetings,
    Maya
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  4. Arpit
    Arpit avatar
    49 posts
    Member since:
    Nov 2010

    Posted 20 Dec 2010 Link to this post

    Hi Maya,

    Thanks for responding. The columns have their predefined width that could not be changed due to UI constraints.
    Right now, only merging the footer cells looks to me as solution.

    Your solution only graphically merges the cells. But my requirement is to merge two cells and then put a Label control which can occupy space of both the cells like it has column span of 2.

    Any ideas on this?


    Thanks!
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 20 Dec 2010 Link to this post

    Hi Arpit,

    Generally, merging two footer cells may be possible by predefining the corresponding templates. However, it is definitely not recommended as it may lead to undesired behavior and break the functionality of the grid. 

    Best wishes,
    Maya
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  6. Maxim
    Maxim avatar
    13 posts
    Member since:
    Mar 2012

    Posted 24 Jan 2013 Link to this post

    How "predefining the corresponding templates"?
  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Jan 2013 Link to this post

    Hello Maxim,

    Currently, merging footer cells can be achieved in the way illustrated above in the sample project - and indeed it is only visually - by changing the template of the cells. 
    Such modifications of the templates can be done by working with Expression Blend as illustrated in our online documentation.

    Kind regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Maxim
    Maxim avatar
    13 posts
    Member since:
    Mar 2012

    Posted 24 Jan 2013 Link to this post

    Merge in sample project only visual. How i can merge its real?
  9. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Jan 2013 Link to this post

    Hello Maxim,

    For the time being, RadGridView supports only merged headers out-of-the-box.  

    Kind regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top