Skip to main content



      Home
Home » Archived » BIRT » hiding table when empty: how?
hiding table when empty: how? [message #244626] Mon, 25 June 2007 12:37 Go to next message
Eclipse UserFriend
Hi !!!
Sorry for my trivial question.

I have a grid containing a title and a table(with results).

I'd like to hide the grid when my table dataset is empty.

Could you please suggest me how to do that?


Thanx,
Nico
Re: hiding table when empty: how? [message #244724 is a reply to message #244626] Mon, 25 June 2007 18:54 Go to previous messageGo to next message
Eclipse UserFriend
On your table's Visibility property, check the Hide Element box, and
then put the expression (Total.count() < 1) in place of the boolean
true. This should hide the whole table if nothing is returned in the
data set.

--Virgil

Nico wrote:
> Hi !!!
> Sorry for my trivial question.
>
> I have a grid containing a title and a table(with results).
>
> I'd like to hide the grid when my table dataset is empty.
>
> Could you please suggest me how to do that?
>
>
> Thanx,
> Nico
Re: hiding table when empty: how? [message #244795 is a reply to message #244724] Tue, 26 June 2007 05:03 Go to previous message
Eclipse UserFriend
Virgil Dodson ha scritto:
> On your table's Visibility property, check the Hide Element box, and
> then put the expression (Total.count() < 1) in place of the boolean
> true. This should hide the whole table if nothing is returned in the
> data set.
>
> --Virgil
>
> Nico wrote:
>> Hi !!!
>> Sorry for my trivial question.
>>
>> I have a grid containing a title and a table(with results).
>>
>> I'd like to hide the grid when my table dataset is empty.

Hi!
What you suggested to me works perfectly, but it's not what I'd like to
do, because in that way I hide the table.
I'd like to hide the grid (containing the table) when the table has null
dataset.


Bye
Nico
Previous Topic:help needed on scripted datasource
Next Topic:Report with parameters - script error
Goto Forum:
  


Current Time: Tue Jul 15 01:42:31 EDT 2025

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

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

Back to the top