Copy link to clipboard
Copied
I would like to exclude the "target cell" from being an footerRow.
Isn't this "parentRows" a table row?
myTable.columns.item(i).cells.item(j).parentRows.rowType !== RowTypes.FOOTER_ROW
Error: parentRows does not support the rowType property or method.
var cell = app.activeDocument.selection[0].parent;
var myTable = cell.parent;
var myFooterRow = myTable.rows[-1];
for (var i = 0; i < myTable.columns.length; i++) {
for (var j = 0; j < myTable.columns.item(i).cells.length; j++) {
if ((myTable.columns.item(i).cells.item(j).contents == "")
&& (myTable.columns.item(i).cells.item(j).parentRows.rowType !== RowTypes.FOOTER_ROW)
I see, it should be parentRow, not parentRows.
That said, how do I delete a post that was posted in error?
Copy link to clipboard
Copied
I see, it should be parentRow, not parentRows.
That said, how do I delete a post that was posted in error?
Copy link to clipboard
Copied
We can leave it and lock the converstaion - if you want it reopened let me know.
It might help others who find it later.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now