Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Conditionally format row text color in Views without JS

(0) ShareShare
ReportReport
Posted on by 119

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June 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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans