A traffic light column is a great addition to any SharePoint list, it allows you to quickly recognise high priority tasks.
Here is an elegant way to easily display traffic lights on your SharePoint list, without the need for icons or similar. We can use his calculated column formula in HTMLCC, without having to worry about the JavaScript side of things.
Create column "Priority"
Create column "Traffic lights"
Insert code:
=IF(ISERR(RIGHT(LEFT([Priority],2),1)-1),"","<DIV style='font-weight:bold; font-size:24px; color:"&CHOOSE(RIGHT(LEFT([Priority],2),1),"red","orange","green")&";'>•</DIV>")
Choose Number (1, 1.0, 100)
That's it!
Here is an elegant way to easily display traffic lights on your SharePoint list, without the need for icons or similar. We can use his calculated column formula in HTMLCC, without having to worry about the JavaScript side of things.
Create column "Priority"
Create column "Traffic lights"
Insert code:
=IF(ISERR(RIGHT(LEFT([Priority],2),1)-1),"","<DIV style='font-weight:bold; font-size:24px; color:"&CHOOSE(RIGHT(LEFT([Priority],2),1),"red","orange","green")&";'>•</DIV>")
Choose Number (1, 1.0, 100)
That's it!
Awesome! Thanks for Sharing.
ReplyDelete