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)
Fit table contents in the report
RepBIRT
If the columns in the table are more, than how to display the entire table columns in the table layout without splitting it. All the table columns should be visible in the same row in all the ouput formats.
Find more posts tagged with
Comments
mwilliams
I'm not sure I'm understanding. Are you wanting to shrink your table to fit the page size for every layout? Or are you wanting to expand the page to fit your table? Can you explain a little more in detail? Thanks!
RepBIRT
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="92228" data-time="1324397095" data-date="20 December 2011 - 09:04 AM"><p>
I'm not sure I'm understanding. Are you wanting to shrink your table to fit the page size for every layout? Or are you wanting to expand the page to fit your table? Can you explain a little more in detail? Thanks!<br /></p></blockquote>
<br />
<br />
Hi,<br />
<br />
Actually, there are more columns in the table and all the rows have to be displayed together.<br />
The options can be any one as you said<br />
<br />
1) Table must fit to page size or<br />
2) Page size can be extended to embed all the rows.<br />
<br />
Can we reduce font size for each report type(like 7pt for pdf type & 8 pt for doc type)?
RepBIRT
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="92228" data-time="1324397095" data-date="20 December 2011 - 09:04 AM"><p>
I'm not sure I'm understanding. Are you wanting to shrink your table to fit the page size for every layout? Or are you wanting to expand the page to fit your table? Can you explain a little more in detail? Thanks!<br /></p></blockquote>
<br />
<br />
Hi,<br />
<br />
Actually, there are more columns in the table and all the rows have to be displayed together.<br />
The options can be any one as you said<br />
<br />
1) Table must fit to page size or<br />
2) Page size can be extended to embed all the rows.<br />
<br />
Can we reduce font size for each report type(like 7pt for pdf type & 8 pt for doc type)?
mwilliams
You could apply different style sheets depending on the output. You could also create different master pages that work according to the different outputs and assign them based on the output.
RepBIRT
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="92769" data-time="1324695074" data-date="23 December 2011 - 07:51 PM"><p>
You could apply different style sheets depending on the output. You could also create different master pages that work according to the different outputs and assign them based on the output.<br /></p></blockquote>
<br />
Kindly let us know how to implement the following things <br />
1)add different css to different output types(html, doc, pdf.....)<br />
2)use different master pages to different output types(html, doc, pdf.....)
kirti1105
Hi Vineet,
Do one thing, Go to ur master page in genral properties, there is an option Type in 3rd section. It has legal,letter custom as options. Choose custom n set the height and width for ur table(more than previous one like from 8.5 to 19 in.). This would increase the width of ur table. If u wish same can be done with height. Now u can include more columns according to ur requirement and just adjust the widths.
Hope this satisfies ur quest.
Thanks & Regards,
Kirti Wankhade
RepBIRT
Kirti,
Thanks for your inputs.
Actually we need different CSS for different outputs. Any ideas would be of great help
mwilliams
This devShare post shows how to dynamically set a CSS style sheet for a report.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/539-birt-dynamically-choose-css-file/
This line of script can be used to check for the output format:
reportContext.getOutputFormat()
Put those together, and you should be able to switch styles based on your output.