Jump to content

Calendar background color


Recommended Posts

Hi @rjvelarde,

I think the easiest way to achieve is by using Formula field in the table with CASE expression.

e.g. 

CASE

WHEN [@YOUR_FIELD] = 'Follow up' THEN '<span style="color:#ffff00;">'+[@YOUR_FIELD]+'</span>'

WHEN [@YOUR_FIELD] = 'Irrigation System' THEN '<span style="color:#0066ff;">'+[@YOUR_FIELD]+'</span>'

WHEN [@YOUR_FIELD] = 'New Well' THEN '<span style="color:#009933;">'+[@YOUR_FIELD]+'</span>'

ELSE 'Not defined'

END 

Finally, you can render the content of the formula output as HTML if you enable the HTML option in Formatting field settings:

Field_formatting_options_4.png

Hope this helps.

Regards,

Vitalikssssss

 

 

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...