Skip to main content
Inspiring
Mar 23, 2022 9:34 PM UTC
Question

gridcolumn

Hi,

How can I show a grid with different color ( 3 different colors) based on the days between Today and another day.

In the below image right now column2 is showing with red line.

Any idea how can I develop this. Any helpful comments please. 

16 replies

danny.verb
Employee
Mar 23, 2022 10:09 PM UTC

You're going to want to use a!richTextField() inside the value parameter of a!gridColumn()

Within the richTextDisplayField you can have icons with different colors based on some logic and then some text based on logic, I recommend the new a!match() function released in 22.1

gopalk2865
Participating Frequently
Mar 24, 2022 5:05 AM UTC

HI Hari, You can create a decision rule, where you can configure your input and output. You can configure hexcodes as ouput . Call this rule in your grid and based on the input , you can decide the color.

New Participant
Mar 24, 2022 5:36 AM UTC

I wan a clear concept with using the simple method and show result of using this code.

If you want to contain rich text, you should use a!richTextField() inside of the value parameter of a!a!a!gc() (Grid Column)

This richTextDisplayField allows you to display different icons with different colors based on some logic and then some text based on logic. It is recommended to use the !match() method. 

for more information and confusion contact me and I try best to solve the issue.

Inspiring
Mar 24, 2022 1:25 PM UTC

Thank you all for your quick guidance. Appreciate your help on this. 

New Participant
Nov 15, 2026 7:22 AM UTC

Thanks for sharing with us. Good information here. I was searching for more details about BitTV APK and found this guide helpful. The step-by-step explanation makes it easier for new users to understand.

mathieud0001
Genius
Nov 15, 2026 11:50 AM UTC

reported

New Participant
Nov 15, 2026 7:08 PM UTC

You could achieve this by calculating the number of days between today and the target date, then using conditional styling to display three different colors based on the result. Appian's conditional logic should make this possible without needing separate grids. The main thing is to define the date ranges clearly and apply the corresponding color to each row or column.