on 06-12-2006 1:17 PM
Hi All,
Can I move the UIElements in webdynpro dynamically.
I have to move buttons in a group from one position to another position. Here I have taken grid layout for my group.
Could anybody help me out.
Regards,
Hi Naga,
Use method
/**
* Swaps the Children at the given indices.
*
* @param i index of the first Child to swap
* @param j index of the second Child to swap
* @throws IndexOutOfBoundsException If one of the indices is out of bounds
*/
public void swapChildren(int i, int j);
from com.sap.tc.webdynpro.progmodel.api.IWDUIElementContainer (which is super interface for IWDGroup).
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IWDUIElement child = container.removeChild(i);
container.addChild(child, j);
Armin
Message was edited by: Armin Reichert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.