Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
dynamic height & width for birt:viewer tag in jsp
G@URI
<span style='font-size: 14px;'>Hi,<br />
I am using an embedded birtviewer in jsp to display the report.<br />
here i'm using tag as<br />
<script="text/javascript"><br />
function getScreenWidth()<br />
{<br />
return screen.width;<br />
}<br />
function getScreenHeight()<br />
{<br />
return screen.height;<br />
}<br />
</script><br />
<body><br />
<birt:viewer id="birtViewer" reportDesign="pacacct.rptdesign" pattern="frameset"<br />
height= getScreenHeight(); /* how should i assign the getScreenHeight()value here */<br />
width=getScreenWidth(); /* how should i assign the getScreenWidth()value here */<br />
format="html"><br />
</birt:viewer><br />
</body><br />
i'm getting the screen width and height by using the above javascript code.Here i want to know how to set javascript value to height and width of the birt tag. Because i want to set the viewer to be fixed based on the client window size. So i want to make it as dynamically.<br />
Please help me.<br />
Thanks in Advance. </span>
Find more posts tagged with
Comments
mwilliams
Sorry for the delay, did you solve this issue? Or are you still looking for a solution?