> Some subtle complications here:
>
> onBeforeRowDisplayEvent may be too early to do something about this, even
> onBeforeDisplayEvent, since the value you see at this point will be from
the
> previous row, not the current.

Not necessarily.  It depends on what you're looking at for the value in the
business logic.  It also depends on whether the value that you're checking
has been "displayed" or not.


> onBeforeHtmlOutput would be a safer bet.
>
> Since **stColor** is before the **actualField** in the .htm, **stColor**
> will be processed first. So even on onBeforeHtmlOutput of **stColor** ND
> won't be able to tell you the value of **actualFiled**.
>
> Work arounds : 1. Bind **stColor** to the same field in the dataObject as
> **actualField**.
> 2. Get the value that would go to **actualField** directly
> from the DataObject using rowIndex.
>
>
> Aby
>
> > -----Original Message-----
> > From: Grace Frederick [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 06, 1999 1:44 PM
> > To: Robert Pittman
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [ND] Setting Background Color of Column
> >
> > Create a static text field for the column color and move the tag so that
> > it
> > looks something like:
> >
> > <TD BGCOLOR="**stColor**">
> >
> > Customize stColor_onBeforeDisplayEvent or the onBeforeRowDisplayEvent of
> > the
> > appropriate data driven visual to set the value of stColor to the
> > appropriate value based on the value of some other field.
> >
> > -- Grace
> >
> > ----- Original Message -----
> > From: Robert Pittman <[EMAIL PROTECTED]>
> > Newsgroups: netdynamics.public.support.nd4.talk
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 06, 1999 1:25 PM
> > Subject: [ND] Setting Background Color of Column
> >
> >
> > >
> > > We need to dynamically control the background color of individual
table
> > cells based on
> > > the values assigned to the cells, while maintaining a consistent color
> > in
> > the remainder
> > > of the columns in the repeated group.  Has anyone found a way to do
> > this?
> > >
> > > Thanks in advance for your help.
> > >
> >
_________________________________________________________________________
> > >
> > > For help in using, subscribing, and unsubscribing to the discussion
> > > forums, please go to:
> > http://www.netdynamics.com/support/visitdevfor.html
> > >
> > > For dire need help, email: [EMAIL PROTECTED]
> > >
> >
> >
_________________________________________________________________________
> >
> > For help in using, subscribing, and unsubscribing to the discussion
> > forums, please go to:
http://www.netdynamics.com/support/visitdevfor.html
> >
> > For dire need help, email: [EMAIL PROTECTED]
> _________________________________________________________________________
>
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
> For dire need help, email: [EMAIL PROTECTED]
>

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to