BIRT Exchange Forum: Embedded Interactive Viewer Full Screen - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Embedded Interactive Viewer Full Screen Rate Topic: -----

#1 User is offline   JasonWhit Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 22-November 11


Posted 24 May 2012 - 10:28 AM

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!
0

#2 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


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.
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users