Adding row in tables

Avatar

Avatar
Validate 1
Level 1
chantalh6331450
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
chantalh6331450
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
chantalh6331450
Level 1

09-12-2016

How to set the remove row button in a position subform so it won't expand with the table row. When I try to wrap my button the script stops working.

This is my script for remove button:

tAns = xfa.host.messageBox("Are you sure you want to remove this item?","Remove item?",1,2)

       if (tAns ==4) {

    Table1._Row1.removeInstance(this.parent.index);

}

Script for add button:

Table2._Row1.addInstance(true);

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
chantalh6331450
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
chantalh6331450
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
chantalh6331450
Level 1

09-12-2016

Solution is (this.parent.parent.index);

Answers (0)