Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Header in First Page Only (when exported to .pdf)
Migrateduser
<p>Hello,</p>
<p> </p>
<p>I'm trying to get three (3) rows of a header to only display on the first page of a report when the report is exported to .pdf.</p>
<p> </p>
<p>Is this possible?</p>
<p> </p>
<p>I found the topic w/in the Forum that talked about putting the following code into the onRender script:</p>
<div>if(pageNumber>1){</div>
<div>this.getStyle().display ="none"</div>
<div>}</div>
<div> </div>
<div>I tried this for the three rows and they still display on all pages when exported to .pdf (they don't display when just being run w/in BIRT itself).</div>
<div> </div>
<div>I also tried the same code in the Visibility Property (hiding the row). That didn't work there either.</div>
<div> </div>
<div>As a final try, I just added "pageNumber > 1" to the Visibility Property (again hiding the row) for the top three rows of the report but they still all display on every page.</div>
<div> </div>
<div>This has to be simpler to accomplish than it appears?</div>
<div> </div>
<div>Any guidance is greatly appreciated! I've attached a copy of the report. I still have the code w/in the onRender script as well as w/in the Visibility Property.</div>
<div> </div>
<div>Thank you!</div>
Find more posts tagged with
Comments
There are no comments yet