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)
Embedded Interactive Viewer Full Screen
JasonWhit
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!
Find more posts tagged with
Comments
averma
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.