NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: oggy on August 13, 2014, 05:15:53 AM

Title: Conditional coloring browse row(s)
Post by: oggy on August 13, 2014, 05:15:53 AM
Any help on how to, on some condition, to color browse row(s) and where to put code in which embed, SetQueueRecord ?!?
in example, on User:Id_Level = 1 I want to color that row in red....
Nettalk 7.39
Regards, Ozren.
Title: Re: Conditional coloring browse row(s)
Post by: terryd on August 13, 2014, 11:47:10 AM
Hi Ozren
Very straight forward.
Select the field you want to colour
Go to the conditional tab of that field
Insert into display options
e.g condition: dea:Status = 1
   CSS Class ' orange-bg'
  repeat as required

if you want a colour gradient on the field
CSS Class: ' orange-bg nt-grad'
notice the space at the beginning of the CSS class. This allows existing Class settings to be incremented.
Title: Re: Conditional coloring browse row(s)
Post by: oggy on August 13, 2014, 12:00:34 PM
Thanks for clarification. This is what I want to achieve... I will post tomorrow morning what I have done to do some like that, not so elegant  ;)... Thanks again...