My client wants to change the grid view color based on the contact entity address type value is "Ship To".
So i added a button in the contact entity "<ribbondiffxml>", but i didn't make it display, you can see there is no command in the "<displayrules>". I added new <customrule> to call the javascript("dns_contact") function ("BackGroundColorGrid") to change the color.
Make sure you added jquery in your webresources.
Same way you can change color for the grid.
Same way you can change color for the grid.