moves an item to the defined position
sid | string|number | id of the source item, mandatory |
tindex | number | target index, optional |
tobj | object | target object (target list), optional |
tid | string|number | the id which will be assinged to the item after moving, optional |
//move to some position
myList.move(source_id, index);
//move to a different view
myList.move(source_id, index, some_other_view);
//or
myList.move(source_id, null , some_other_view);
//or
myList.move(source_id, index, some_other_view, target_id);
Back to top