I need to pass a parameter to determine the visibility of a remark. If the
parameter defines it to be visible, I also need to toggle the visibility of
the remark when the user expands or collapses the containing group. I do
not want the visibility turned on when the parameter wants it always
invisible.
If the Visibility.ToggleItem was based upon an expression, I believe I could
easily do this. Does anyone know how or when this could be done?Have you try the Iif function ?
= Iif(MyParameter.Value = "ViewNotes", True, False)
So set this formula as the visibility formula.
"Walter Lundgren" <lundgren_w@.crane.navy.mil> a écrit dans le message de
news:ekQ2AxhXEHA.1684@.tk2msftngp13.phx.gbl...
> I need to pass a parameter to determine the visibility of a remark. If
the
> parameter defines it to be visible, I also need to toggle the visibility
of
> the remark when the user expands or collapses the containing group. I do
> not want the visibility turned on when the parameter wants it always
> invisible.
> If the Visibility.ToggleItem was based upon an expression, I believe I
could
> easily do this. Does anyone know how or when this could be done?
>|||Thanks, but I also need to consider the need for a drilldown hide/unhide
feature. The ToggleItem, initial visibility, and InitialToggleState are
properties that support drilldown.
The ToggleItem property is hardwired to consider only the collapsed/expanded
state of the controls on the Dropdown list. If I could use an expression to
set ToggleItem, the reported "remarks" would not need to be tied to the
state of the collapsed/expanded control.
"Jéjé" <willgart@._A_hAotmail_A_.com> wrote in message
news:%23QDQI7hXEHA.2940@.TK2MSFTNGP09.phx.gbl...
> Have you try the Iif function ?
> = Iif(MyParameter.Value = "ViewNotes", True, False)
> So set this formula as the visibility formula.
>
> "Walter Lundgren" <lundgren_w@.crane.navy.mil> a écrit dans le message de
> news:ekQ2AxhXEHA.1684@.tk2msftngp13.phx.gbl...
> > I need to pass a parameter to determine the visibility of a remark. If
> the
> > parameter defines it to be visible, I also need to toggle the visibility
> of
> > the remark when the user expands or collapses the containing group. I
do
> > not want the visibility turned on when the parameter wants it always
> > invisible.
> >
> > If the Visibility.ToggleItem was based upon an expression, I believe I
> could
> > easily do this. Does anyone know how or when this could be done?
> >
> >
>
Showing posts with label toggle. Show all posts
Showing posts with label toggle. Show all posts
Tuesday, March 20, 2012
Conditional visibility
Monday, March 19, 2012
Conditional Toggle ?
Hi i have a table that look something like this
School
Class
Section
studentA 1323 534543 543543 43534
studentB 657 7657567 66 9
Is there anyway i can set up the toggle for all like
if there is only 1 student, make everything expanded by default ? else
collapsed ?
Thanks
RPYou can use a parameter to allow manual expand/contract of all items.
You can also hide/show lines conditionally. Right click the section you
want to affect, click Edit Group then Visibility. In here you can set
the initial visibilty with an expression.
Chris
RP wrote:
> Hi i have a table that look something like this
> School
> Class
> Section
> studentA 1323 534543 543543 43534
> studentB 657 7657567 66 9
> Is there anyway i can set up the toggle for all like
> if there is only 1 student, make everything expanded by default ?
> else collapsed ?
> Thanks
> RP
School
Class
Section
studentA 1323 534543 543543 43534
studentB 657 7657567 66 9
Is there anyway i can set up the toggle for all like
if there is only 1 student, make everything expanded by default ? else
collapsed ?
Thanks
RPYou can use a parameter to allow manual expand/contract of all items.
You can also hide/show lines conditionally. Right click the section you
want to affect, click Edit Group then Visibility. In here you can set
the initial visibilty with an expression.
Chris
RP wrote:
> Hi i have a table that look something like this
> School
> Class
> Section
> studentA 1323 534543 543543 43534
> studentB 657 7657567 66 9
> Is there anyway i can set up the toggle for all like
> if there is only 1 student, make everything expanded by default ?
> else collapsed ?
> Thanks
> RP
Subscribe to:
Posts (Atom)