This topic is locked
[SOLVED]

 Conditional formatting tutorial

6/3/2014 1:41:59 PM
PHPRunner General questions
D
dabrow author

Hi
In my solution I try to use conditional formatting

if ($data["SomeFieldTable"] == "ktr" )

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


"ktr" is a string

but i'm not getting response. I have custom Header and footer.
Is there something I'm missing here

Sergey Kornilov admin 6/3/2014

Instead of "SomeFieldTable" you need to use the real field name.
Also, what event you adding this code to?

D
dabrow author 6/3/2014

I'm using :Listpage : After record processed - Event

Yes I used real field name.

Have tried with other field and number, no luck.

My solution is using custom css , Can this interact with this conditional method and override it ?
Regards

Sergey Kornilov admin 6/3/2014

Yes, it may. Hard to tell though without seeing your project. Try to remove all custom CSS and give it a try just to see if it works.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

D
dabrow author 6/5/2014



Yes, it may. Hard to tell though without seeing your project. Try to remove all custom CSS and give it a try just to see if it works.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


Yes Thanks for reply .
It was may custom CSS , I did removed it and my is problem gone. Now I just need to adjust custom css to make it work with my solution.