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
If you have not checked yet, be sure to visit site of our main product Webix js frameworks and page of dataview to datatable product.