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

Header and Details column are not aligned.

3 Answers 230 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hll
Top achievements
Rank 1
hll asked on 14 Jan 2010, 11:42 AM
Hi,

I created a report using Telerik Reporting Q3.
The first problem is; my header and detail column are not aligned. (As you can see from the attachment.)
I have set canGrow and canShrink to true in all textboxes.

And my second problem is, as you can see from the attachment, the heigth of the textboxes grew much more than needed.

am i doing something wrong?

Thank you.

3 Answers, 1 is accepted

Sort by
0
hll
Top achievements
Rank 1
answered on 15 Jan 2010, 09:07 AM
Please reply.
How can i fix this?
0
Steve
Telerik team
answered on 15 Jan 2010, 02:02 PM
Hi hll,

Both issues you talk about are related. The misalignment comes from the fact that the detail textboxes contain more data and thus they grow to accommodate it, while the headers cannot grow with the same rate as they contain static text and are pretty much hard coded.
By design the TextBoxes can grow only vertically and do not grow horizontally. We do not see the whole report from your screenshot but suspect that you have a textbox that contains so much data that it has grown vertically too much and the others would grow as well as you've created a table layout.
What you can do is use our Table item, which has its own header and thus it would always be aligned with the items forming the column beneath it. As for the height of the textboxes, you can always set CanGrow=false and this way the textboxes would look exactly like in design time, but the text that does not fit would be cut off. It is up to you to create a layout that best fits your data.

Best wishes,
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.
0
hll
Top achievements
Rank 1
answered on 19 Jan 2010, 05:33 PM
Yes I can use Reporting table item, but then i will be losing paging, right?

I would like to have paging and correctly aligned columns in my reports, is this too much to ask for?
Tags
General Discussions
Asked by
hll
Top achievements
Rank 1
Answers by
hll
Top achievements
Rank 1
Steve
Telerik team
Share this question
or