Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Cell Background

$
0
0
Hello. I am writing about the cell background that I want to change depending on the field value. I have a database in which I have the status field has the value INT, I put the value 1 YES, 2 NO, 3 NONE. I came across a tutorial https://www.youtube.com/watch?v=ch_cADcTnP4&t=302s in which it is described and it still does not work for me. I'm inserting the code
$record[“status_style”].=’style="background:red"‘;

if ($data["status"] == "NIE")
$record[“status_style"].=’style=”background:blue”‘;

if ($data["status"] == "BRAK")
$record[“status_style"].=’style="background:green"‘;[/code]

in which it is described and it still does not work for me. I put the code from the level of custom "status" or like in the tutorial from the level of Events and nothing only works is the change of the font color depending on the status I am a PHPRunner user since version 9.8 a week ago I bought a license for 10.5 and the problem is the same. Has anyone encountered a similar problem, best regards.

Viewing all articles
Browse latest Browse all 2586

Trending Articles