moveUp

moves an element upwards within its current branch

void moveUp(id id,number step);

Parameters

ididthe item id
stepnumberthe step of moving

Example

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

Back to top