Introduction
This article provides a Requester monitoring list that is easy enough to do in SharePoint. The 3 statuses are an easy visual way of seeing what status each of the requesters was on. The statuses used in this list are:
- Approved
- Rejected
- Pending
These values are populated from a Choice field in the list, but as you can see from the before image below it is not that easy to quickly and easily see what level each of the Requesters are on.

On the Edit page, select the Insert Web Part tab from the Ribbon. From the Categories menu, select Media and Content and then Script Editor from the Parts menu:

Click on the Add button at the bottom of the page to install the Web Part.
Embedding Code to Your Site
- Once the Web Part has been successfully installed on your page, you will see a hyperlink button under the Script Editor labelled EDIT SNIPPET. Click the EDIT SNIPPET link to insert HTML/Script code:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$Text = $("td.ms-cellstyle.ms-vb2:contains('Approved')"); $Text.parent().css("background-color", "#01DF3A");
$Text = $("td.ms-cellstyle.ms-vb2:contains('Rejected')");
$Text.parent().css("background-color", "#F90101");
$Text = $("td.ms-cellstyle.ms-vb2:contains('Pending')");
$Text.parent().css("background-color", "#EAC117");
});
</script>

- After you have inputted the appropriate code in the Embed dialog box, click Insert to save the HTML/Script.
Below you can see the end result with some data entered and various names against various action statuses:

Shellie MilfordPosted Nov 3, 2020, 3:11 PM
Thank you for sharing, this worked great, but when I change to group by the colors disappeared. Is the code different for this?
Jasmine GkdPosted Sep 24, 2019, 2:11 AM
Accurate script. worked like a charm. thanks for sharing.
Chloe SunshinePosted Jul 2, 2018, 2:05 PM
Will this work on a SharePoint page for multiple lists?
COLLIN NOLEPosted Oct 23, 2017, 3:37 PM
DO I have to change my column heading (title and status) to make the code work ??
Prashant VermaPosted Mar 9, 2016, 10:09 AM
nice
Rajkiran SwainPosted Sep 1, 2015, 4:25 AM
Default page size is 30, after clicking on second page same prob, colour code not working .
Rajkiran SwainPosted Sep 1, 2015, 4:24 AM
its totally wrong, Because when i am trying to search any thing on the "Find an Item" Text Box then Colour is not working after showing result.
Nicole MubarakPosted May 18, 2015, 1:46 PM
Hi, I went through your steps above and they work! But, id i sort the page by column or change the style from default to basic all the lovely colors disappear. Any reason why or advice on how to fix or accommodate that