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)
Automatic chapter numbering
Noy
<p>Hi!</p>
<p> </p>
<p>We would like to do in Birt, that the report's chapter's number show up depend on the chapter's visibility expression is true or false. We have got covenants template, so if we run as different dealid, the chapter appears depend on the actual terms.</p>
<p>In the script, onCreate I try something like this, every text where we want to write a chapter number one after the other if the grid have to turns up:</p>
<div> </div>
<div>if(this.getStyle().display == "block")</div>
<div>{this.text = vars["global"] + 1;</div>
<div> </div>
<div>vars["global"]= vars["global"] + 1;</div>
<div>}</div>
<div> </div>
<div> </div>
<div>But this don't detect the visbility value and the if statement is never run off. </div>
<div>Can you help me? </div>
<div> </div>
<div>Thanks everyone!</div>
<div> </div>
Find more posts tagged with
Comments
There are no comments yet