Skip to main content

Notifications

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 

  • Suggested answer
    MC-07071810-0 Profile Picture
    6 on at
    Color the row of leads on the base of their status
    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:
     

  • Suggested answer
    NODAL Profile Picture
    860 on at
    RE: Color the row of leads on the base of their status

    Hi Hamza,

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

    Thanks,

    Ketan

  • MicheleCz Profile Picture
    5 on at
    RE: Color the row of leads on the base of their status

    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
    Naveen Ganeshe Profile Picture
    3,393 User Group Leader on at
    RE: Color the row of leads on the base of their status

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

  • Hamza Hafeez Profile Picture
    5 on at
    RE: Color the row of leads on the base of their status

    Naveen Hi,

    The error is

    ReferenceError: $ is not defined

  • Naveen Ganeshe Profile Picture
    3,393 User Group Leader on at
    RE: Color the row of leads on the base of their status

    Hi Hamza,

    can you share the error message?

  • Hamza Hafeez Profile Picture
    5 on at
    RE: Color the row of leads on the base of their status

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

  • Hamza Hafeez Profile Picture
    5 on at
    RE: Color the row of leads on the base of their status

    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')

  • Suggested answer
    Pradeep Rai Profile Picture
    5,487 Super User 2025 Season 1 on at
    RE: Color the row of leads on the base of their status

    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/

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,393 User Group Leader on at
    RE: Color the row of leads on the base of their status

    Hello Hamza,

    you can try the below threads: '

    community.dynamics.com/.../920881

    www.crmug.com/.../viewthread

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans