I have a single Table ("TableA") with 4 rows - all named "Row". Thus...Row, Row, Row, and Row.
Each row has 3 cells.
What I'm trying to do is lock the 2nd cell ("Cell2") on every row - essentially locking an entire column.
I tried using the following script on a button, but it doesn't work.
TableA.Row[*].Cell2.access = "protected";
Thanks in advance!
I figured it out using a loop statement...
Will leave this posted just in case it helps someone else in the future!
var rows = xfa.resolveNodes("TableA.Row[*].Cell2");
for (var i = 0; i < rows.length; i++)
var lockField = rows.item(i);
lockField.access = "protected";