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

Conditional formatting problem on list page

$
0
0
Hi,

I am using below code on List Page: After record processed event. There is no problem on first page, conditional formatting is working successfully. But when I go to second page it does not work. Normally, if field value is TAMAMLANDI, background color should be GREEN (not yellow! please see second page screenshot below).

Note: Also, information button does not work on second page like conditional formatting (javascript)

Can you tell me please what is wrong?
What's going on second or next pages when conditional formatting is used.
Best Regards,

If data("durum") = "URETIM" Then ' color code : yellow
record("durum_css") = "background:#FFFF00; color:black;"
record("edit_link") = true
ElseIf data("durum") = "TAMAMLANDI" Then ' color code : green
record("durum_css") = "background:#00FF00; color:black;"
ElseIf data("durum") = "IPTAL" Then ' color code : red
record("durum_css") = "background:#FF0000; color:white;"
End If


from Turkish to English
field : durum > status
value : URETIM > PRODUCTION
value : TAMAMLANDI > COMPLETED
value : IPTAL > CANCELLED

Application : ASPRunner Professional // Version 9.1 build 28846


Screenshot 1 : Code section > https://ibb.co/djKvCK
Screenshot 2 : page 1 > https://ibb.co/kZDNsK
Screenshot 3 : page 2 > https://ibb.co/b5nhsK


Viewing all articles
Browse latest Browse all 2586

Trending Articles