cancel
Showing results for 
Search instead for 
Did you mean: 

Setting row fill color using script

Former Member
0 Kudos

Hi,

How can I set a table row fill color using Javascript?

I did it with table cells, using the fillColor attribute, but it doesn't work for table rows.

I've also tried

Table.Row1.border.fill.color.value = "10,10,10"; (for example)

and it didn't work too.

So how can I set the row's color?

Thanks, Udi

Accepted Solutions (1)

Accepted Solutions (1)

harman_shahi
Contributor
0 Kudos

Hi Udi,

Your code looks fine. I tried the code below, and it works. Make sure you have your Table Name, and Row name is correct, and check that your code is actually being executed. (by placing some test Alert code)

Table1.Row2.border.fill.color.value = "10,10,10";

hope this helps,

harman

Answers (1)

Answers (1)

Former Member
0 Kudos

Eventually, I did

Row1.border.fill.presence.value = "visible"

And it worked. Not sure why though.

Thanks anyway!