Dynamic size of javascript viewer
#1
Posted 19 April 2012 - 10:54 AM
Sorry if this is an easy question but I'm very new to this.
Currently I'm accomplishing this by registering for the window resize event and then manually modifying the #NavigationBar, .contentPanel, and .floatPanel DOM elements
#2
Posted 23 April 2012 - 10:22 AM
On your resize event handler, call viewer.setWidth(xxx), viewer.setHeight(xxx), then viewer.submit(...) to change the size of the viewer.
#3
Posted 23 April 2012 - 12:34 PM
averma, on 23 April 2012 - 11:22 AM, said:
On your resize event handler, call viewer.setWidth(xxx), viewer.setHeight(xxx), then viewer.submit(...) to change the size of the viewer.
If I do that the viewer makes two network requests each time the view port is resized. This is not acceptable as we have up to 4000 concurrent users. Why would it need to go back to the server for a browser side issue that should easily be solved by non-strict width based css?
Isn't there a way in the birt reports layout to have the width set to a percentage (say, 100%)?
#5
Posted 23 April 2012 - 03:38 PM





MultiQuote




