Skip to Content
avatar image
Former Member

Mover row up / down in the table

Hi,

Is it possible to move the row up or down in the table with the click of button?

Sceanrio:

From the 9th position to the 3rd position and vice versa, by entering the line no in the popup when the button "Move" is clicked!

Best regards,

Dharmi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 12, 2008 at 10:16 AM

    Hi

    There is not a way to move specific rows by entering row numbers, but I did manage to create 2 buttons one which copies a row to a data store and then deletes it using assign and delete row actions, the paste button then pasts the copied row using insert and assign actions to the selected place in the table.

    You can make the copy and paste more intellegent by using conditions, for example paste should be disabled if there is nothing in the data store or clearing the data store after each paste.

    Jarrod

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jaarod,

      Thank you for the response. I have used one button "Move" to Move the row: By using the "Find", "Delete" , "CopyTo" actions and a data bridge. It works fine.

      I have the sequence in the table which is 0010 for 1st line, 0020 for the second line and so forth, so it was easy to enter line number...However, Sequence has to be unique for the Web Service to execute.

      It wouldn't have been a problem to have sequence unique if it was just "move" and "save", then I can change the sequence to a number lesser (e.g. 0019)

      But the user should be able to move more then one row (not mulitple rows at one time) before saving...

      Is there a way to check the uniqueness of the Sequence?

      Best regards,

      Dharmi