Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » hiding table when empty: how?
hiding table when empty: how? [message #244626] Mon, 25 June 2007 16:37 Go to next message
Nicola is currently offline NicolaFriend
Messages: 184
Registered: July 2009
Senior Member
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 22:54 Go to previous messageGo to next message
Virgil Dodson is currently offline Virgil DodsonFriend
Messages: 40
Registered: July 2009
Member
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 09:03 Go to previous message
Nicola is currently offline NicolaFriend
Messages: 184
Registered: July 2009
Senior Member
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: Sun Jul 07 15:19:43 GMT 2024

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

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

Back to the top