cancel
Showing results for 
Search instead for 
Did you mean: 

How to set as BOLD a cell value in Table row dynamically?

padhygk
Discoverer
0 Kudos

Hi All,

I have a requirement for designing a Adobe Form in which a table LT_OUTPUT having different records with 6 columns. Out of these 6 columns I need to print 5 and based  on the 6th column which is a flag('X' or ' '), the 2nd column need to be BOLD(if flag value is 'X').

For example the table contains value like below.

VORNR     LTXA1    STEXT    ACTUSER   PERUSER    FLAG

10              XXXX       text        text              text             X

20               XXXX       text        text              text             X


21               XXXX       text        text              text            



In this case I am going to print only first five columns only. and the second column need to be bold if flag value is 'X'.



Thanks in advance for your help

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gopal,

Select the table name(as you mentioned LT_OUTPUT) from the hierarchy in the form, Go to script editor write the logic as below .

if(this.FLAG.rawValue == "X")

{

this.LTAX1.font.weight = "bold";

}