DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

D2Tab Cell Color

Hello.

I'm quite new to Diadem so bare with me. 🙂


I want to generate a report script that allowes me to color the values in a 2DTable.

My idea is that if the value in a 2DTable exceeds a specific value it should be printed in red else in green. I do not want the whole column to be colored, just the cell that exceeds the set value.

Is this possible? I've been looking at D2TabNumColor but I seem to be doing something wrong.


Cheers!

0 Kudos
Message 1 of 5
(3,899 Views)
Perhaps I had saw this question somewhere, I'm sorry to tell you that  the answer was there was no way to change the cell color, you can only change the background color in DIAdem table.
 
yangafreet
0 Kudos
Message 2 of 5
(3,886 Views)
Hello Yanga!

Actually by cell color I mean the fontcolor of the value in the cell.

Do you think that is possible? Since I can change the "Palette" in the properties of the D2Table to make the color change I guess I should be able to do it programaticly.

Cheers!


0 Kudos
Message 3 of 5
(3,883 Views)
Hi Fox_Mccloud,

It is possible to have an individual coloring for REPORT tables in DIAdem. For this you must define a user command which contains the formatting for each cell of the table. To visualize the coloring in the layout you must call the defined user command in the "Column Properties >> Format". Attached you find an example for that.

Greetings
Walter

Message 4 of 5
(3,879 Views)
Hello Walter!

Nice one. I had a breif look at it. But that certianly seems to be just what I am looking for.

Big thanks!


Cheers!
0 Kudos
Message 5 of 5
(3,873 Views)