A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/data_collection/api/datacollection_move_method/ below:

Website Navigation


JavaScript DataCollection - move Method

move()

moves an item to the defined position

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

Parameters: Returns:

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

Example

component.data.move("4",5); // moves the item with id:4 to the position with index 5

Related sample: Data. Move


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4