Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Color the row of leads on the base of their status

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
    MC-07071810-0 8 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
    NODAL 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
    MicheleCz 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
    Naveen Ganeshe 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
    Hamza Hafeez 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
    Naveen Ganeshe 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
    Hamza Hafeez 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
    Hamza Hafeez 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
    Pradeep Rai 5,490 Super User 2024 Season 2 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
    Naveen Ganeshe 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans