Help removing current instance of Row1 from a Table.

Avatar

Avatar

gmailJerald

Avatar

gmailJerald

gmailJerald

07-09-2012

I have a table in which I have a Header Row, Row1, and Footer Row.  I have a button in the header that adds new instances of Row1.  There's a button in Row1 that is supposed to remove the current instance.  However, when I click the button to remove an instance, it always removes the first instance of Row1.  I used the Action Wizard to get the code for the button:

this.resolveNode('Table9._Row1').removeInstance(this.parent.index);

if(xfa.host.version<8) {

xfa.form.recalculate(1);

}

Any help would be greatly appreciated.

Thanks,

J

View Entire Topic

Avatar

Avatar

smythkowalczyk

Avatar

smythkowalczyk

smythkowalczyk

16-07-2015

I had also been struggling with this. Thanks for the response. Worked perfectly!