moveUp

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

void moveUp(id id,number step);
id
idthe item id step
numberthe step of moving

Example

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

See also
  • API
  • Articles
  • 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 mvc library and page of javascript context menu product.