Handling no-data conditions for tables and charts
I have a BIRT design and I want to make a table not appear (including the header) if no data for the bound data set is available. Same for a chart.
What is the most straight forward, less script intensive way of doing this?
What is the most straight forward, less script intensive way of doing this?
Warning
No formatter is installed for the format ipb
0
Comments
-
Hi PuckPuck,
To hide the table when there is no data returned by the query, you can add the following script to the Visibility property of the table.
(Total.count() < 1)
To do this:
1. Select the table.
2. Select the Visibility property in the Property Editor
3. Check Hide Element
4. Replace the word 'true' (which will hide it all the time) with the script above so it only hides when there are no data rows.
You can add the same script to the visibility property of a chart, although in my testing, the charts in BIRT 2.2 may be hiding themselves under these conditions.
VirgilWarning No formatter is installed for the format ipb0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management