moveUp

moves an element upwards within its current branch

void moveUp(id id,number step);
ididthe item id
stepnumberthe step of moving

Example

$$('tree').moveUp("a12", 2);

Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.