Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
how to add crosstab headers in the top-left field?
stf
Hello everyone, I'm stuck in a problem for a long time,please help me! Thank you in advance!
I want to add 6 headers in the top-left field,the headers are correspongding to the result sets(row fields) below.
so i added labels to the top-left field.But labels span across the entire field from left to right,and the second label is just under the first one.
I tried another method, to add a grid of 6 columns and 1 row,then add a label in each cell of the gird.But the width of the cells can not change according with the label's text in it, and can not change according with the resultsets below.
How can i get the required result?
Find more posts tagged with
Comments
mwilliams
Hi stf,<br />
<br />
The grid way is going to be the way to do it. You'll just have to set widths for the dimension columns in the crosstab and for the grid cells to make them the same. You could request an enhancement for a matching header row at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>.
stf
Hi,mwilliams
Thank you very much for your suggestions.
I set each grid's column width and the crosstab row header cell's width the same in the property editor, and it works!
Now i have encountered a new problem:
the dynamic data in the column header is large, so there are many columns in each row,and we should drag the horizontal scrollbar to see a whole row.
Exporting the data in excel format, I can get all the column data.But when i export the report to word,pdf, or ppt format, the right part of column data compact together.I set the param pageoverflow=1/2, but it didn't work.Are there any solutions?
Thank you in advance!
mwilliams
stf,
What version of BIRT are you using? Can you provide a screenshot of what you're getting?
stf
mwilliams,thank you very much for your attention!
The version of BIRT i'm using is:Eclipse BIRT Designer Version 2.5.1.v20090903 Build ;2.5.1.v20090922-0630.
Attatched is part of the result file.
mwilliams
stf,
Have you tried switching the orientation of the report to landscape?
stf
I tried, and it works! you are so learned! Thank you!