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
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.
Maya
the Telerik team
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!
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
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.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
For the time being, RadGridView supports only merged headers out-of-the-box.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.