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
Try to hide first row on page - but second row is hidden
Migrateduser
I need to implement design where there is separator line between rows in the table. And this separator row have gray borders on the left and on the right. So I added additional detail row to the table for this purpose. But the problem is that such row appears right below the table header, so I need to hide it.<br />
I added Page Variable "start_page" which is "true" by default. Also in "visibility" section of row I added code to hide row if "start_page"="true", after that I set "start_page"="false":<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
startPage = reportContext.getPageVariable("start_page");
if (startPage == "true") {
reportContext.setPageVariable("start_page", "false");
true
} else {
false
}
</pre>
<br />
But the problem is that BIRT resets "start_page" variable AFTER rendering of first row on second page. As a result, second row is hidden instead of first. I attached simplified rptdesign. When generate report to PDF, look at second page. There is no separator line between items 38 and 39, but correct behavior would be to hide separator above item 38.<br />
<br />
Could you help me how to solve this issue? Or is there another way to implement such design?
Find more posts tagged with
Comments
There are no comments yet