Skip to main content


moves an item to the defined position

move(id: Id | Id[], index: number, target?: DataCollection): Id | Id[];


  • id: string | string[] - the ids of items to move
  • index: number - the index to move items to
  • target: object - optional, the target data collection object


Either a string with the item's id or an array of string values with ids of items.

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

Related sample: Data. Move