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

Merge Footer Cells?

8 Answers 259 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Arpit
Top achievements
Rank 1
Arpit asked on 20 Dec 2010, 06:52 AM
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?

8 Answers, 1 is accepted

Sort by
0
Arpit
Top achievements
Rank 1
answered on 20 Dec 2010, 09:09 AM
Anyone?
0
Maya
Telerik team
answered on 20 Dec 2010, 02:12 PM
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
0
Arpit
Top achievements
Rank 1
answered on 20 Dec 2010, 02:46 PM
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!
0
Maya
Telerik team
answered on 20 Dec 2010, 04:23 PM
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
0
Maxim
Top achievements
Rank 1
answered on 24 Jan 2013, 06:17 AM
How "predefining the corresponding templates"?
0
Maya
Telerik team
answered on 24 Jan 2013, 07:13 AM
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.

0
Maxim
Top achievements
Rank 1
answered on 24 Jan 2013, 07:15 AM
Merge in sample project only visual. How i can merge its real?
0
Maya
Telerik team
answered on 24 Jan 2013, 07:25 AM
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.

Tags
GridView
Asked by
Arpit
Top achievements
Rank 1
Answers by
Arpit
Top achievements
Rank 1
Maya
Telerik team
Maxim
Top achievements
Rank 1
Share this question
or