|
|
Alexey admin 10/15/2007 |
|
Mahmoud, if($data["FieldName"]<now()) { $row["rowstyle"]="style=\"background:red\""; } |
|
|
B
|
barbary author 10/23/2007 |
Mahmoud, Use After record processed event for this. Here is the sample code:
|
|
|
|
Alexey admin 10/25/2007 |
|
Yes |
|
|
B
|
barbary author 10/26/2007 |
Yes
|
|
|
|
hfg 10/26/2007 |
|
I'm working with an Oracle DB, is there something I have to do differant? I have not been able to get this to work, it just seems to ignor the event. |
|
|
J
|
Jane 10/30/2007 |
|
Hi, if($data["CAR_TITLE_LOC"]=="ER") { $row["rowstyle"]="style=\"background:red\""; } |
|
|
|
hfg 10/30/2007 |
|
Still no luck. |
|
|
J
|
Jane 10/30/2007 |
|
Please publish your project on Demo Account and post a URL to your pages here or send it to [email=support@xlinesoft.com]support@xlinesoft.com[/email] along with instructions on reproducing this error. |
|
|
M
|
Max68 10/30/2007 |
Please publish your project on Demo Account and post a URL to your pages here or send it to [email=support@xlinesoft.com]support@xlinesoft.com[/email] along with instructions on reproducing this error. I'll find what's wrong with your project inspecting it at Demo account site.
|
|
|
M
|
morpheus 10/30/2007 |
|
I've just tried this and everything is RED? |
|
|
|
Sergey Kornilov admin 10/30/2007 |
|
Comparisson operator in PHP is double equals sign (==): $data["Status"]=="Rejected" |
|
|
M
|
Max68 10/31/2007 |
Comparisson operator in PHP is double equals sign (==):
|
|
|
J
|
Jane 10/31/2007 |
|
Massimiliano, <tr valign="top" {$row.shadeclass} if @TABLE.bRowHighlite##onmouseover="this.className = 'rowselected';" onmouseout="this.className = '{$row.shadeclassname}';" endif##> and replace it with this one: <tr valign="top" {$row.shadeclass} if @TABLE.bRowHighlite##onmouseover="this.className = 'rowselected';" onmouseout="this.className = '{$row.shadeclassname}';" endif##{$row.rowstyle}
|
|
|
M
|
Max68 10/31/2007 |
|
Thank you |
|
|
|
hfg 10/31/2007 |
|
I was using the "Default" layout. The posted fix work for it as well. |
|
|
L
|
laonian 1/9/2008 |
|
Need help with row color change. I have been testing the "$row.rowstyle" code described above for a while and it did not work with me. Here is the detail: |
|
|
L
|
laonian 1/9/2008 |
|
Need help with row color change. I have been testing the "$row.rowstyle" code described above for a while and it did not work with me. Here is the detail: |
|
|
L
|
laonian 1/9/2008 |
|
Need help with row color change. I have been testing the "$row.rowstyle" code described above for a while and it did not work with me. Here is the detail: |
|
|
J
|
Jane 1/11/2008 |
|
Hi, if ($data["Result"]=="passed") { $row["rowstyle"]="style=\"background:green\""; } else if ($data["Result"]=="failed") { $row["rowstyle"]="style=\"background:red\""; } else { $row["rowstyle"]="style=\"background:yellow\""; } |
|
|
L
|
laonian 1/11/2008 |
|
It works great. Sorry for my messing up the list page and add page. |
|