cancel
Showing results for 
Search instead for 
Did you mean: 

Mover row up / down in the table

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member193545
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)