moves an item to the defined position

void move(string|number id,number index, [object target] );


idstring|numberthe id of an item to move
indexnumberthe index to move an item to
targetobjectoptional, the target data collection object

Example"4",5); // moves the item with id:4 to the position with index 5

Related samples

Back to top