moveUp

decreases the item index and moves the item to the new position

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

Example

$$('view').moveUp("a12",2); //moves the item with id="a12" 2 items up

See also
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.
If you have not checked yet, be sure to visit site of our main product Webix javascript ui library and page of javascript menu product.