Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Adding Rows and Columns to a table depending requirements

$
0
0

Hi all,

I have created a table with one row and 2 columns of a table. My client requested adding form one to 3 columns of the right table and rows as well, depending business requirements.

I can add coding add columns on the right, but I cannot add rows because the columns dynamic.

 

I tried to write the coding for adding rows but it is not successful.  Please help.

 

event : click - add colum button

for (var i = 0; i < form1.page1.Table1._Row1.count; i++){

var newrow = form1.page1.Table1.resolveNode("Row1[" + i + "]");

var newrow2 = form1.page1.Table1.resolveNode("HeaderRow[" + i + "]");

newrow._Col3D.addInstance(0);

newrow2._Col3D.addInstance(0);

}

 

i also published my file for your reviewing.

 

https://workspaces.acrobat.com/?d=xcgcfby89J-IHenn-8xeaQ

 

Thank you very much,

Cindy


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>