on 07-19-2008 8:27 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eventually, I did
Row1.border.fill.presence.value = "visible"
And it worked. Not sure why though.
Thanks anyway!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.