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)
Grid row hiding/displaying
BIRT_NEEDY
Hi,<br />
<br />
I have a grid with fixed number of rows in my Birt report. The report output format is PDF. The report uses XML data source. I get the count of the the optional tag in the XML data source and store the result in computed columns. Depending on the count I display/hide the grid row. I have the following code to hide/display the THIRD row in the Visibility section of property editor: <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
if(row["countAlternative"]==1){
true
}
else{
false
}
</pre>
<br />
I have the following code to hide/display the FOURTH row in the Visibility section of property editor:<br />
if(row["countNormal"]==1){<br />
true<br />
}<br />
else{<br />
false<br />
}<br />
<br />
At any point of time either THIRD or FOURTH row is displayed.<br />
<br />
I observe that only one row is (i.e. either THIRD or FOURTH row) displayed but there is an additional empty line being displayed or inserted in the output in place of the thrid/fourth row!!!!<br />
<br />
What could be the reason??<br />
<br />
Your help will be appreciated.<br />
<br />
Thanks
Find more posts tagged with
Comments
There are no comments yet