Expand my Community achievements bar.

SOLVED

Move table rows up and down

Avatar

Level 2

Hi,

I am creating a dynamic table that will, depending on how many options are chosen, have Row1[0], Row1[1], Row1[2], etc. When a row is created I would like to put a button on the row to allow users to move the row up or down  in the table order. I have been trying to adapt a bit of JavaScript from the help files which moved a subform but I have had no luck. The JavaScript was based on the index but my index kept turning out to be 0 no matter how many rows I put in. I feel that I am missing something simple about how to capture the index number of a particular row.

Does anyone have any ideas or do I have to explain myself better? Or, should I just give up on the idea?!?!?!!!

Thanks for your help,

Greig

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 2

Thanks Radzmar.

You have done it again!