move
moves the specified item to a new position
string move(string sid,number tindex, [object tobj,object details] );
Parameters
sid | string | the ID of the item to move |
tindex | number | a new position of the item (a new index) |
tobj | object | the object that the item is moved to |
details | object | extra parameters for moving |
Returns
Example
// moving in the same filemanager
$$("fmanager").move("a12", 0);
$$("fmanager").move("a13", -1);
// moves an item to a different filemanager
var id = $$("fmanager").move("a13", 0, $$("fmanager2"));
See also
Back to top