I'm using the JSAPI to embed reports inside a .net web application. I want the interactive viewer to be the full size of the browser window and it will adjust if the browser window is resized. I found setWidth and setHeight which take an integer and set absolute size, but not how to make it dynamic. If I log into Information Console and view a report there it does just this, but not seeing how to make it happen in my app.
Thanks!
Page 1 of 1
Embedded Interactive Viewer Full Screen
#2
Posted 24 May 2012 - 12:18 PM
Hi JasonWhit,
You will need to add a onresize event handler to body of the html. In this handler function, call viewer.setSize(...) with the new size dimensions of the div attached to the viewer. I will provide an example soon.
You will need to add a onresize event handler to body of the html. In this handler function, call viewer.setSize(...) with the new size dimensions of the div attached to the viewer. I will provide an example soon.
Page 1 of 1





MultiQuote




