Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 281 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 106 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Conditional formatting in RTF template - Some attribute works some not
To change background color of the alternate rows I am using following code
<?if@row:number(position() mod 2)=0?><?attribute@incontext:background-color;#d9d9d9?>
Does not work, background color remains unchanged.
Whereas <?if@row:number(position() mod 2)=0?><?attribute@incontext:color;'red'?><?end if?>
do work. Font color is turns red in the alternate rows.
Same thing happens when I wish to set the last row of the report to have bottom border solid .5pt
<?if@row:number(position)=number(last())?><?attribute@incontext:color;'red'?><?end if?>
works, but
<?if@row:number(position())=number(last())?><?attribute@incontext:border-bottom-style;'solid'?><?attribute@incontext:border-bottom-width;.5pt?>?end if?>
does not!!
Answers
-
Please do not double post
0
