Forums: Conditional formatting problem on list page - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Conditional formatting problem on list page Rate Topic: -----

#1 User is offline   abdemir 

  • Member
  • PipPip
  • Group: Members
  • Posts: 26
  • Joined: 16-December 05

Posted 17 September 2018 - 05:47 AM

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


0

#2 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 16045
  • Joined: 03-February 03

Posted 18 September 2018 - 02:33 PM

According to what I see it should work but without seeing your application and data there is not much we can do. If you need help you can post your application to Demo Account and contact support directly.
Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked