web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Color the row of leads on the base of their status

(0) ShareShare
ReportReport
Posted on by 5

I want color row on the base of the status of leads. I tried a lot but could not do that. I want to  color grid rows of Qualified Leads in Green Color, Lost or Disqualified Leads in Red color and Newly created Leads in Yellow Color. 

Thank you 

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hello Hamza,

    you can try the below threads: '

    community.dynamics.com/.../920881

    www.crmug.com/.../viewthread

  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    I agreed with naveen suggestion and you can also try with pcf controls

    Please check below pcf controls:

    https://pcf.gallery/colorful-optionset-grid/

    https://pcf.gallery/color-grid/

  • Hamza Hafeez Profile Picture
    5 on at

    Hello Naveen!

    I tried these but could not get a solution. I am getting jQuery error for the line given below.

    $('span:contains("New")').closest('tr').css('background-color', 'yellow')

  • Hamza Hafeez Profile Picture
    5 on at

    Hi Pradeep, I wanna do this by using only js.

  • Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Hamza,

    can you share the error message?

  • Hamza Hafeez Profile Picture
    5 on at

    Naveen Hi,

    The error is

    ReferenceError: $ is not defined

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    In that case, you have to add reference Jquery in your code

  • MicheleCz Profile Picture
    5 on at

    I have seen color coding in voice of customer responses as colored spheres, ie a detractor with red sphere. Perhaps something along that could be relevant and applied.

  • Suggested answer
    NODAL Profile Picture
    860 on at

    Hi Hamza,

    You can refer this Apply custom background color to rows on a PowerApps Grid. – Helplessheroes (wordpress.com)

    Thanks,

    Ketan

  • Suggested answer
    MC-07071810-0 Profile Picture
    6 on at
    You can use Color Grid for Microsoft Dynamics 365. 
     
    It does exactly what you're trying to do, and much beyond that.
     
    You can specify different conditions to match and color cell, and rows based on your defined color.
    Rules are configurable, and each user can add their own rules without interfering with others, because Color Grid Configurations are defined in a table reocrds, and table records can have access level. 
     
     
    Ex: Highlight Leads based on their Rating
     
    Image preview
     
    Configurations:
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans