Conditional Visibility based on multiple items
Options
<p>Hello,</p><p> </p><p>I am trying to hide a table row based on the condition of a data set row that is returned. For example, if the data set row value is in (X, Y, Z) then it should not hide the row. How would I go about building an expression for this desired outcome?</p><p> </p><p>Thanks for your help,</p><p> </p><p>Mark</p><p> </p>
0
Comments
-
<p>Select the detail row, under Properties Editor, properties, select visibility, click hide element.</p><p>for the expression something along this; row["assetnum"]=='100098' ||row["assetnum"]=='100099'||row["assetnum"]=='100164'</p><p> </p><p>or maybe</p><p>BirtComp.anyOf(row["assetnum"],'100098' ,'100099','100164');</p><p> </p><p>for a couple examples.</p><p>-Wes</p>0
-
<blockquote class="ipsBlockquote" data-author="wwilliams" data-cid="129149" data-time="1404432753"><div><p> </p><p>BirtComp.anyOf(row["assetnum"],'100098' ,'100099','100164');</p><p> </p><p> </p></div></blockquote><p> </p><p>I used this method and with a bit of tweaking I believe I found my solution. I appreciate your help!</p>0
-
Write code to check the conditions and determine if the column should be hidden. I can't provide information on the conditions since you didn't give any details. Create a hidden report parameter. Set the type to Boolean and the default value to false. In code, set the parameter value to true if the conditions determine the column should be hidden. This must be done prior to the table being rendered. Select the column and go to its Visibility property. There is an Expression Builder on the Visibility editor. Open it and add the report parameter to the expression. It will act as the full visibility expression. Save the changes.
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 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
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax