Avatar

Correct answer by
Level 10

Hi,

I have updated a sample to include moving rows: https://acrobat.com/#d=khu3Ik*9LUz60afNWuCUsA

Note that in this table there are TWO repeating rows. The first reacts to the dropdown, the second to the add row button.

So you can move rows within their respective instances. The hover colour is set to blue for Row1 and green for Row2.

In the first example I have used the Row1 name to access the current index. Whereas for hte second example I have used this.parent.parent.index. This is just to show the different approaches.

Note how I have set up this form to give visual and audio feedback to the user when they can't move a row, rather than an app.alert.

Hope that helps,

Niall

View solution in original post