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
Different master page header on the first page of report
Migrateduser
I need to have one <strong class='bbc'>master page header</strong> on the first page and another <strong class='bbc'>master page header</strong> on the next pages of report.<br />
I am using 3.7.1 version.<br />
<br />
1. I inserted a grid with two rows to the master page header.<br />
2. I put one new grid into each of the rows.<br />
First nested grid for the first page header, second nested grid for the next pages header.<br />
3. I set an onRender scripts:<br />
<br />
<em class='bbc'>//first nested grid</em><br />
if( pageNumber > 1 ){<br />
this.getStyle().display = "none";<br />
}<br />
<br />
<em class='bbc'>//second nested grid</em><br />
if( pageNumber == 1 ){<br />
this.getStyle().display = "none";<br />
}else{<br />
this.getStyle().display = "block";<br />
}<br />
<br />
This works ok with the sample database, from JDBC Data Source.<br />
But I need XML Data Source and with that it does not work at all.<br />
It seems as if with the sample database table, the onRender event gets called on every page, but with my XML Data Source it only gets called once. <br />
<br />
Please, If you could help me solve this mysterious problem I would appreciated it very much.<br />
<br />
erisa
Find more posts tagged with
Comments
There are no comments yet