Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

FormCalc: format border color for data in table

$
0
0

I am new in scripting language so I seek your patience if my question seems to be obvious.

I need to put different color (let say: red) to the bottom border/line for all lines of the data in a table.

My palette hierarchy looks like the following screen shot:

ADLCD_Image1.jpg

I tried with one column TANUM (i.e. TO No.) and put the following FormCalc script in the even "initialize":

data.Page1.Output_table.IT_OUTPUT.DATA.TANUM.border.getElement("edge",2).color.value = "255,0,0"

When I run it does color the Column TANUM with the color Red, but only for the last line of the data on the second

column (TANUM).

ADLCD_Image2.jpg

So my question is: how can apply it to ALL lines of the data?

Thanks for your help in advance.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>