Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Merging of cells of a dynamic table in adobe form


I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row.

if (this.Cell4.rawValue == " ")


this.Cell3.colSpan = "2";

this.Cell4.presence = "hidden";


Note : Since above code was not working , i used the below code in my subform also but it did not returned desired output.

if(Table22.Row1.Cell1.rawValue == " ")


Table22.Row1.Cell3.colSpan = "2";

Table22.Row1.Cell4.presence = "hidden";


The problem is that in my dynamic table , its the second row where the requirement is fulfilled ie in the 2nd entry of my table the column4 is blank (the exact row number might change depending on input data).

is there a way to loop in the dynamic table and check if column 4 is empty for a particular row.

the above code does not help to fulfill my requirements. kindly help.



Former Member
Not what you were looking for? View more on this topic or Ask a question