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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 197 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 70

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans