Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Border on Grid spanning across multiple pages
carloal
<p>Hello,</p>
<p> </p>
<p>I have a Grid with one row and one cell and serveral elements inside them. The resulting grid spans across 3 pages. I have a border on 4 sides of the grid <strong><em>in each page.</em></strong></p>
<p> </p>
<p>What I would like to have instead is left and right border on each page, but the first page should have only the top border (no bottom), the second page no top nor bottom border and the last page only the bottom border.</p>
<p> </p>
<p>What I have:</p>
<p> </p>
<p>Page 1</p>
<p>______</p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p>|_____|</p>
<p> </p>
<p> </p>
<p>Page 2</p>
<p>______</p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p>|_____|</p>
<p> </p>
<p>Page 3</p>
<p> </p>
<p>______</p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p>|_____|</p>
<p> </p>
<p>What I would like:</p>
<p> </p>
<p> </p>
<p>Page 1</p>
<p>______</p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p> </p>
<p> </p>
<p>Page 2</p>
<p> </p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p> </p>
<p> </p>
<p>Page 3</p>
<p> </p>
<p>| |</p>
<p>| |</p>
<p>| |</p>
<p>|_____|</p>
<p> </p>
<p> </p>
<p>Is there a way to do this using BIRT 4.3.2?</p>
<p> </p>
<p>Carlo</p>
Find more posts tagged with
Comments
kclark
<p>I'm working on an example for you now, but you should be able to just modify the css element of the border based on the page number. It would look something like this (pseudo-code)</p>
<pre class="_prettyXprint">
if(pageNumber == 0) {
// Leave the CSS for the border
}else if(pageNumber == /*lastPage*/) {
// Leave the CSS for the border
}else{
// Remove the CSS for top and bottom
}</pre>