cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Java Table Row Move Up and Move Down

Former Member
0 Kudos

Hi

How can we achieve move up / move down of a particular row in a table?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

change the order of the element in the node

Former Member
0 Kudos

How can i change the order of the element?

Are you talking about selected index-1 for move up and selected index+1 for move down? It means i have to take care of rest of elements in a node. I have to re-arrange all node elements for move up and move down.

former_member182372
Active Contributor
0 Kudos

IWDNode:

public void moveElement(int from, int to)
public void swapElements(int index1, int index2)

[help.sap.com|http://help.sap.com/javadocs/NW04S/SPS09/wd/com/sap/tc/webdynpro/progmodel/api/IWDNode.html#moveElement(int, int)]

Answers (0)