Expand my Community achievements bar.

SOLVED

Help - Add row and remove row not working!

Avatar

Level 4

Not able to figure out why the "Add & Remove row" button are not working.

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi,

To remove specified row you have to use function

Table1._Row1.removeInstance(ind);

where ind is index of the row.

You should put button delete under each row of the table, and write onClic script:

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

BR,

Paul Butenko

View solution in original post

3 Replies

Avatar

Level 6

Hi,

Under Object tab - Binding - Set checkbox repeat for each data item, and set max value of elements.

1.JPG

Avatar

Level 4

Classification: UNCLASSIFIED

Caveats: NONE

How come I am not able to delete any of the existing rows on the table only the rows that were added when the add page button is clicked?

Thanks in advance

Avatar

Correct answer by
Level 6

Hi,

To remove specified row you have to use function

Table1._Row1.removeInstance(ind);

where ind is index of the row.

You should put button delete under each row of the table, and write onClic script:

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

BR,

Paul Butenko