|
|
Re: Height of Report Viewer embedded in iframe [message #990549 is a reply to message #990356] |
Thu, 13 December 2012 05:06 |
RealName Mising name Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Doesn't seem to being called.
I cannot see where the script is sent to the client either.
Is this script really run in the client(in the browser)?
I want to do something like this:
afterRender event script:
parent.updateHeight(document.getElementById("__BIRT_ROOT").scrollHeight);
Main document script:
function updateHeight(birtViewerHeight) {
document.getElementById("birtIframeId").style.height = (birtViewerHeight + 150) + "px";
}
So in effect I am forcing the Birt "Document" not to have scrollbars. I can do this manually with Firebug and it works, but the afterRender event script is not working.
[Updated on: Thu, 13 December 2012 05:09] Report message to a moderator
|
|
|
Re: Height of Report Viewer embedded in iframe [message #990752 is a reply to message #990549] |
Fri, 14 December 2012 05:42 |
|
Ah. No. That's server side. Sorry for misunderstanding what you were looking for. You can call client side script from and HTML text box using <script> tags. You should be able to pass info from the report using the <value-of> and <viewtime-value-of> tags.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03810 seconds