I have a table which has 3 columns: colum1 (text); colum2, and column3
column1- header: contact information;
column 2 - location(code in this field: this.parent.index + 1); and I set initial: 2
column 3 - location: automatically display Location 2
add button: code: _Table3.addInstance(1);
When I preview the form. The table is display is:
column1: text;
column2: location 1
column3: location 2
When I select add button the new table is display but column1: and column2: is not inscrease the number(the location number is the same). It should be
column1: location 3; column2: location 4.
For example: everytime I select the add button the location in the columns will be inscrease number. but my coding is not working well.
I need your help. I need I spent alot of time to figure out but I am not successful.
Thanks,
Cindy
Do you want to add columns dynamically at runtime or do you mean rows?
For adding columns check out this article
http://blogs.adobe.com/formfeed/2011/10/tables-with-variable-numbers-of-columns.php
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs