NetTalk Central

Author Topic: Conditional coloring browse row(s)  (Read 3074 times)

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Conditional coloring browse row(s)
« 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.

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Conditional coloring browse row(s)
« Reply #1 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.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Conditional coloring browse row(s)
« Reply #2 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...