Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Conditionally format row text color in Views without JS

Posted on by 115

Is there any way to format the colour of the row text within a View?  Without Java Script or code!

Surely in 2020 we should have conditional formatting like in Power BI

What does the Color setting in the Field Options actually do? I've changed the color for each of these 4 Options

pastedimage1582003114921v1.png

I'd love to have the colour of the text in the Row relevant to the Option set values appear with the Color set

  • Verified answer
    Johnny Yun Profile Picture
    Johnny Yun 455 on at
    RE: Conditionally format row text color in Views without JS

    Good day Dave,

    1. There's no OOB way to set row text color in View. Only following JS function samples could be for reference:

    https://arpitmscrmhunt.blogspot.com/2017/12/dynamics-crm-dynamically-change-row.html

    https://dynamicspeople.wordpress.com/2017/03/22/best-way-to-call-common-javascript-from-application-ribbon/

    https://community.dynamics.com/crm/b/mscrmshop/posts/adding-icons-and-tooltips-to-grid-column-in-dynamics-365

    2. Option Sets in Dynamics 365 has a setting for each value to specify a color code.

    This color code is used in Unified Interface in the entity specific dashboards. This is a welcome addition as it makes it more easy to persist colors to a specific value and have it be consistent throughout the charts and visuals.

    pastedimage1582013935097v1.png

    Above referred from Ulrik's Blog: https://crmchartguy.com/2018/08/15/use-color-codes-from-option-sets-in-both-dynamics-365-charts-and-power-bi/

    Hope above would help.

    Regards

    Johnny

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans