What is the best way to hide a table at runtime
Options
<p>I need to be able to toggle the visibility of a table at a runtime when running reports via birt engine api. what is the best way to toggle visibility. I searched for TableHandle.setVisibility() or similar methods but did not find any. </p>
<p> </p>
<p>Anyone has any pointers?</p>
<p>Thanks,</p>
<p> </p>
<p>Anyone has any pointers?</p>
<p>Thanks,</p>
0
Comments
-
<p>Using DEAPI like this?</p>
<p><a data-ipb='nomediaparse' href='https://wiki.eclipse.org/Add_Visibility_Rule_in_beforeFactory_(BIRT)'>https://wiki.eclipse.org/Add_Visibility_Rule_in_beforeFactory_(BIRT)</a></p>
Warning No formatter is installed for the format ipb0 -
<blockquote class="ipsBlockquote" data-author="Clement Wong" data-cid="142478" data-time="1456296440">
<div>
<p>Using DEAPI like this?</p>
<p><a data-ipb='nomediaparse' href='https://wiki.eclipse.org/Add_Visibility_Rule_in_beforeFactory_(BIRT)'>https://wiki.eclipse.org/Add_Visibility_Rule_in_beforeFactory_(BIRT)</a></p>
</div>
</blockquote>
<p> </p>
<p>Thank you, Clement!! </p>
<p> </p>
<p>As you always, your answer hit the bull's eye. This approach definitely worked. </p>
<p>Before I did a sample basic report to see how the visibility changes in the xml code of the .rptdesign and saw this:</p>
<pre class="_prettyXprint _lang-xml">
<list-property name="visibility">
<structure>
<property name="format">all</property>
<expression name="valueExpr" type="javascript">true</expression>
</structure>
</list-property>
</pre>
<p>I was able to create a structure but did not know how to create <list-property>. <br>
the</p>
<pre class="_prettyXprint">
.getPropertyHandle("visibility");
</pre>
<p>did the trick!! </p>
<p> </p>
<p>Thanks again!!</p>0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management