This topic is locked
[SOLVED]

 List View Color Options

2/17/2011 1:58:10 PM
PHPRunner General questions
cyberjas2001 author

Hi everyone,

In my List View im trying to assign different colors to each row depending on the days they have spent at my parking lot, I have this portion of my code as example:
if ($data["FreeTime"]==3)

$row["rowstyle"]='style="background:lightyellow"';
elseif ($data["FreeTime"]==4)

$row["rowstyle"]='style="background:lightgreen"';
elseif ($data["FreeTime"]>=5)

$row["rowstyle"]='style="background:red"';

My code works perfectly, but as you can see the colors that I picked arent the best options for me, my question is... Does anybody has the colors available in this program??
Thanks!!!