Customising Option Set Colours in Grid Controls

5 minutes reading time

Customising Option Set Colours in Grid Controls

In the 2024 Release Wave 2, various grid views include additional colours with columns highlighting option set values.

For example, the Status and Status Reason columns in the cases grid below are formatted with colours for each option value.

Dynamics 365 option set colour displays in grid columns

Several clients have asked us for help removing these colour settings from their Dynamics 365 grids to preserve a clean interface. We’ve detailed the instructions below if you want to do the same. Alternatively, you might want to enable these colourful column on grids for additional tables in your app.

For both scenarios, the quickest method is to update the settings for the specific table, which will apply to all columns in these grids.

We’ll access the classic customisation experience from make.powerapps.com by selecting:

Settings > Advanced Settings > Settings > Customizations > Customize the System

Selecting the Cases entity as an example, we’ve clicked on the Controls tab.

Select the Power Apps grid control and scroll down to the control ‘Enable OptionSet Colors’

Power Apps Grid Control Settings

Change the setting to Yes or No, depending on whether you want to activate or remove the colour formatting on option set columns for this table.

Once you’ve saved and published the change, table grids are updated with the revised settings. In this example, we’ve removed colour formatting for option sets in our cases grid.

Grid view

Customising Option Set Colours

You can also change the default colour settings representing option set values in grids.

Using the new customisation experience, select the appropriate column for the table in your solution.

Within the settings, the colour for each option set value can be customised using the picker or entering a HEX code or RGB values.

Colour picker for defining option set values in grid columns

We strongly recommend avoiding dark colours for option set labels to ensure your values are readable. Each update should be carefully checked to ensure user accessibility and readability when adjusting colours.

Expert help to customise your grid controls

Please contact us if you need assistance customising these grid controls in your Dynamics 365 or model-driven app.

First Published: October 17, 2024

Receive Updates from ServerSys

Join our mailing list to receive Dynamics 365 and Power Platform insights in your mailbox, typically once or twice each month. You can unsubscribe at any time, and we will never share your data.

Warren Butler - ServerSys Insights and Resources Author for Dynamics 365 and Power Platform. He brings over 20 years of experience covering business transformation, CRM and Microsoft Dynamics to help organisations grow by embracing technology.

Warren Butler

Warren is the director of marketing at ServerSys. He brings over 20 years of experience covering business transformation, CRM and Microsoft Dynamics to help organisations grow by embracing technology.

If you have any questions, please get in touch with us at hello@serversys.com

Warren Butler - Linkedin profile