Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Hide grid element based on Page number
REDRO
Hi All,
We are using BIRT 2.6.2. and i have a requirement like hide element on Masterpage, so that i am using below code onRender event. But unable to get the result. Please correct me.
if(pageNumber>1){
false;
}else{
true;
}
Thanks & Regards.
Find more posts tagged with
Comments
mwilliams
Try this instead in the onRender:
if (pageNumber > 1){
this.getStyle().display = "none"
}
REDRO
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="74835" data-time="1300475327" data-date="18 March 2011 - 12:08 PM"><p>
Try this instead in the onRender:<br />
<br />
if (pageNumber > 1){<br />
this.getStyle().display = "none"<br />
}<br /></p></blockquote>
<br />
Hi Williams,<br />
<br />
I have applied given script on date and page number in Master page. But i didn't get the result. Attached is the my rptdesign. please correct me.<br />
<br />
Thanks,<br />
JP