NetTalk Central

Author Topic: rows color  (Read 1807 times)

agustinh2000

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • Email
rows color
« on: May 07, 2014, 06:58:17 AM »
Hello... as I can show the color of a row in a browse with a priority ('high,' medium ',' low ') condition. this data is stored in a field.

any ideas?

thanks

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: rows color
« Reply #1 on: May 07, 2014, 11:12:31 AM »
Hi
On the browse select the field that you want to colour.
Select the conditional tab
Under display options click Insert
In the condition field enter the condition e.g. fil:priority ='high'
In the CSS Class field enter ' red-bg' - important make sure that the entry starts with a space.
repeat for the three options
If your web\styles folder open netweb.css with a text editor
Inside you will find various preset background colours you can use.
If you want the colour to be a gradient then you can use ' red-bg nt-grad'
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186