moveTop

moves the specified item to the first position

void moveTop(id id,id parentId);
ididthe item id
parentIdidthe id of a new parent

Example

$$("tree").moveTop("1.2.3","2")

Back to top