Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Hide/Show Report Parameters
Hide/Show Report Parameters [message #368157] Thu, 07 May 2009 14:03 Go to next message
Eclipse UserFriend
Originally posted by: heloneverett.alliance.biz

I want to be able to hide or show a report parameter based on the value
in a another report parameter that the user has selected.

Is there anyway to do this?

Thanks for any help.
Re: Hide/Show Report Parameters [message #368159 is a reply to message #368157] Thu, 07 May 2009 15:25 Go to previous messageGo to next message
Mitch Christensen is currently offline Mitch ChristensenFriend
Messages: 35
Registered: July 2009
Member
Add the target report parameter (to be displayed) to your report spec.
Then select the container of the target report parameter and use the
visibility property to hide/show the target parameter based on the second
report parameter.

1) Select the container (text, label, grid, etc.)
2) Go to Property Editor -> Visibility panel
3) Select "Hide Element"
4) In the "Detail" section add the following 'params["RP_showParams"] ==
false'
a) This assumes that RP_showParams is a boolean

I hope this helps.

-Mitch Christensen
Re: Hide/Show Report Parameters [message #369003 is a reply to message #368159] Fri, 17 July 2009 07:52 Go to previous messageGo to next message
Mario Hochreiter is currently offline Mario HochreiterFriend
Messages: 1
Registered: July 2009
Junior Member
Hallo Mitch

I've the same requirement as Helon, but i don't understand your answer.
I think you are mixing things. As far is i understand Helon and I want to
show/hide a parameter based on another parameter.
Your answer seems to show/hide a "Report Item" (like Label, Text ...)
based on a parameter, or am i wrong?

Would be great if someone could give a solution for hiding/showing a
report parameter based on another report parameter.

Thanks,
Mario
Re: Hide/Show Report Parameters [message #369013 is a reply to message #369003] Sat, 18 July 2009 04:01 Go to previous message
Eclipse UserFriend
Originally posted by: johnw.innoventsolutions.com

Mario,

Either look into cascading parameters (populating one parameter based on
the results of another), or you might want to consider using an external
parameter dialog and just passing the parameters into the BIRT engine.

John

Mario Hochreiter wrote:
> Hallo Mitch
>
> I've the same requirement as Helon, but i don't understand your answer.
> I think you are mixing things. As far is i understand Helon and I want
> to show/hide a parameter based on another parameter.
> Your answer seems to show/hide a "Report Item" (like Label, Text ...)
> based on a parameter, or am i wrong?
>
> Would be great if someone could give a solution for hiding/showing a
> report parameter based on another report parameter.
>
> Thanks,
> Mario
>
Previous Topic:Externalized Connection Profile in BIRT 2.5 Problem
Next Topic:How to include charts in xls output
Goto Forum:
  


Current Time: Wed Sep 25 16:47:39 GMT 2024

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

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

Back to the top