Conditional item formatting (color)
karasreOct 23 2006 — edited Feb 28 2007Hello friends,
I try to set conditional style (red color for i=0 and green for i=1) for an item using: "HTML Form Element Attributes"
with this SQL statement:
Select
CASE
WHEN I=0 THEN style="background-color:red"
WHEN I=1 THEN style="background-color:green"
END
from PERIODS where YEAR=TO_NUMBER(:P1_ROK_ROZ)
but I have achieve only style="background-color:red" for an item.
Could you have any experience in this aproach.
Best regards,
Remi