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

TextBox Alignment

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Grigory Bloch
Top achievements
Rank 1
Grigory Bloch asked on 07 Oct 2009, 06:25 PM
Hello,

I am putting together report using the table control. I have been trying to find a way to merge cells but it seems impossible at this point.
Please confirm.

Since I was not able to find a way top merge cells in order to put together the correct columns titles that span across multiple cells I've placed text boxes above the table and aligned the boxes to the exact lines of the cells.
However, when rendered in HTML the text boxes are no longer aligned.

Can you please advise how I can address such an issue. Screen shots attached.

Thank you,
G

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Oct 2009, 02:49 PM
Hello Grigory,

Your question has already been answered in your colleague's thread. Here is the answer just in case:

The misalignment of the table "columns" and the textboxes that you decided to use as "headers" is inevitable as the table can grow horizontally as well, so such approach is not recommended.
Merge functionality for the table item is available since v.Q2 2009, but you should have in mind that the table item is not a mere table, its "columns" and "rows" are column groups and row groups, thus rules are in order.
Namely when you select several cells which belong to a single dynamic (or static) group, then the context menu would show Merge Cells option. Once cells from a single group are merged they can be later split by selecting the merged cell and choosing Split Cells from the menu.
If you imagine the tree structure of the groups and parent/child relations it would become clear why you cannot merge cells from different groups.
If you need headers, then you should add a static row as top "row" for the table and use it for your needs.


We kindly ask you to use just one support channel to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two tickets instead of one. Moreover threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.

Thank you for your understanding.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Grigory Bloch
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or