Skip to main content



No record found.

Microsoft Dynamics AX forum
Suggested answer

Color multiple fields on the grid with different colors

Posted on by 200

Hi all ,

The requirement is such that we need to give background color to the fields in a grid, something like this image below using code.


The problem is that when we are using displayoption method to color the grid fields then all the selected fields are getting colored with the same color even after we have specified different colors for the fields . 

Is there a way in which we can solve this requirement . or any reference code that we can refer?

  • Suggested answer
    ergun sahin Profile Picture
    ergun sahin 8,812 Super User on at

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans