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.
Discussion posts and replies are publicly visible
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
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.
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.
Thank you all for your quick guidance. Appreciate your help on this.
I am using the 21.4 version and I searched for icon of type below like straight line. I could not found any.
I was able to find different icons and I was able to show in different colors, but not able to find the icon like below.
You could always use the Bar character (|) set to a larger font size, instead of an icon (i also don't see an icon that matches what you're after).
Thanks.
Hi Hari Kishore Reddy , I am not sure if you have found a way to do that but you can use char(124) in your richtext filed to get what you want. See below snap,
I have already implemented the same kind of code.
Anyway, thanks for your response Gopal. Really appreciate.
For what it's worth, char(124) is the same as what I suggested above, since it's just the "bar" character found on any normal keyboard: