moveUp

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

void moveUp(id id,number step);

Parameters

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