Viewer Background [message #1068011] |
Thu, 11 July 2013 12:19  |
Eclipse User |
|
|
|
I trying to add background colors to some of my reports, however I have noticed that the outside around the the report is always white. This is very noticeable when the report is very small compared to the open viewer window.
I believe the background style of the report is not flowing to the report viewer style.
In testing I modified the RunFragment.jsp with the following.
<BODY CLASS="BirtViewer_Body" ONLOAD="javascript:init( );" SCROLL="no" LEFTMARGIN='0px'
STYLE='background-color:#fff6dc; >'>
</BODY>
Which solved my problem, however that affects all report that use the run viewer. On reports that have no background specified the background of the viewer comes through which is nice added bonus.
How can I dynamically specify the background of the viewer from the report that is called to run and not affect other reports?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03795 seconds