ValueList.Move

Syntax:

Move(<Item>, <Offset>)

Parameters:

<Item> (required)

Type: Number; ValueListItem.
Index of the list item being moved or the item itself.

<Offset> (required)

Type: Number.
Number of positions by which the item should be shifted. A positive value corresponds to the item being moved to the end of the list (index increment), while a negative value corresponds to the item being moved to the beginning of the list.

Description:

Shifts an item the specified number of positions forward or backward within a list of values.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

// Move the first item "down"
List.Move(0,1);


    

1C:Enterprise Developer's Community