I have a table with 18 rows. Each row has a text filed that is shaded a color based on the selection from a drop down field. I want to be able to click a button and return all of the shaded fields back to white (not shaded).
This is the script under the change event of the drop down:
Signal.border.fill.color.value = "255, 255, 255";//white
My table rows are labeled
Row[0]
Row[1]
Row[2]
Row[3]
etc. to 18
Is there a script to include all and return all border.fill.color.value = "255, 255, 255";//white ?
Solved! Go to Solution.
Views
Replies
Total Likes
There's a script for almost everything, it's only has to be developed
For your task, it might be a simple loop.
var oRows = Table.resolveNodes("Row[*]"),
i;
for (i = 0; i < oRows.length; i += 1) {
oRows.item(i).SIgnal.border.fill.color.value = "255,255,255";
}
Views
Replies
Total Likes
There's a script for almost everything, it's only has to be developed
For your task, it might be a simple loop.
var oRows = Table.resolveNodes("Row[*]"),
i;
for (i = 0; i < oRows.length; i += 1) {
oRows.item(i).SIgnal.border.fill.color.value = "255,255,255";
}
Views
Replies
Total Likes