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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Display method color code apply

(0) ShareShare
ReportReport
Posted on by 94
Hi,
In my custom form, I have a display method control which returns a real value.

I need to add a background color code for it. 
For ex: If the Displaycontrol is 0.00 = green color as background. if its more than 0.00 = then background color as red. 

As this is a display method, I'll not be able to compare using the if condition and set the color.
Is there any other option for this?
Categories:
I have the same question (0)
  • Sohaib Cheema Profile Picture
    47,928 User Group Leader on at
    Display method color code apply
    you have't told anything about the layout of your form. for example is this a single control and of which type ? is it in the grid?
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 882 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 723 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 518

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans