Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Hide empty table
Hide empty table [message #692840] Tue, 05 July 2011 10:33 Go to next message
frank.dullweber is currently offline frank.dullweberFriend
Messages: 2
Registered: July 2011
Junior Member
How can I hide a complete table in a report if the data set is empty (number of rows = 0)?
Re: Hide empty table [message #692992 is a reply to message #692840] Tue, 05 July 2011 15:18 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Add a column to the table bindings that counts the number of rows. Use
this column in the visibility expression for the table. See attached
example.

for the parameter enter 111 to get no rows or 10101 to get values.

Jason

On 7/5/2011 6:33 AM, forums-noreply@eclipse.org wrote:
> How can I hide a complete table in a report if the data set is empty
> (number of rows = 0)?
Re: Hide empty table [message #708047 is a reply to message #692992] Tue, 02 August 2011 11:34 Go to previous messageGo to next message
jeyinul  is currently offline jeyinul Friend
Messages: 60
Registered: June 2011
Member
Can you explain how to hide empty rows in cross tab.

Attached file is not supported.

Plz help me on this.
Re: Hide empty table [message #708207 is a reply to message #708047] Tue, 02 August 2011 15:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Empty crosstab rows should not display by default. Take a look at this
link:
http://www.eclipse.org/birt/phoenix/project/notable2.3.php#jump_4

Jason

On 8/2/2011 7:34 AM, jeyinul wrote:
> Can you explain how to hide empty rows in cross tab.
>
> Attached file is not supported.
>
> Plz help me on this.
Re: Hide empty table [message #890137 is a reply to message #692840] Thu, 21 June 2012 09:04 Go to previous message
Bluish Joe is currently offline Bluish JoeFriend
Messages: 13
Registered: October 2010
Junior Member
Another solution could be http://www.eclipse.org/forums/index.php/mv/msg/208014/890134/#msg_890134, which doesn't need additional columns/report objects.

[Updated on: Fri, 30 November 2012 08:20]

Report message to a moderator

Previous Topic:How to hide the table header when there is no content in the table ?
Next Topic:Can BIRT template accept images from an XML datasource
Goto Forum:
  


Current Time: Thu Apr 25 03:48:20 GMT 2024

Powered by FUDForum. Page generated in 0.03054 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top