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
If you have not checked yet, be sure to visit site of our main product Webix popular javascript framework and page of tree table product.