How can I colorize the CRM grid on Dynamics CRM 4?
I would like to automatically display the list of an entity with a back color when loading the view.
My goal is to have different colors depending on the status of the listed entity. For example, I want to have a color for cases that have a date field that is in the past and another color for cases that have this date in the future.
The solution described below is a change not supported by Microsoft (that means, use it at your own risks). Plus, there is no guarantee that it won't be broken when applying CRM rollups.
On the CRM server, modify the
C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_static\_grid\grid.htc
file:Add the following code at the end of the
initializeData()
function:And here's what you get:
For CRM 2013, CRM 2015 maybe you can use this solution: https://crmgridplus.codeplex.com