2 Replies Latest reply on Nov 1, 2012 4:05 PM by Greig at Lands

    Move table rows up and down

    Greig at Lands Level 1

      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