CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 How to change TD background color based on db value

Print topic Send  topic

Author Message
gbruce2000

Posts: 1
Posted: 07/20/2009, 8:35 AM

Is there a way to change the background color of a <TD> based on a database value.
i.e. in a grid I would like to change the background color of the TD based on the value in a textbox in the grid.
_________________
Gordon Bruce
View profile  Send private message
DonP
Posted: 07/20/2009, 9:06 AM

You can create a label where the ID goes and then place a Before Show
event with conditionals to make it to whatever you need. Maybe there's
another way but this is that way I do things like that.

Don (DonP)

gbruce2000 wrote:
> Is there a way to change the background color of a <TD> based on a database
> value.
> i.e. in a grid I would like to change the background color of the TD based on
> the value in a textbox in the grid.
> _________________
> Gordon Bruce
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.