troubleshooting Question

How to change SharePoint DataSheet View cell background-color

Avatar of Fredd
Fredd asked on
Microsoft SharePointJavaScript
9 Comments1 Solution21 ViewsLast Modified:

How to change the background color of a cell in a SharePoint Datasheet View based on a condition.  For example -say I have fields   Status = Pending, Due Date = 12/2/2021, Type = Internal
Color the background for Status for this row only based on the due data and also the type value.   One row the status cell might be red, another might be green.  Not just the text but the Background color. 

2) How to change dynamically the font based on the same. 


SharePoint 2016 on prem, NOT modern, powerapps, etc.
Javascript solutions fine -thanks

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros