ValueTable.Move

Syntax:

Move(<Row>, <Offset>)

Parameters:

<Row> (required)

Type: Number; ValueTableRow.
Row you want to move or its index.

<Offset> (required)

Type: Number.
Number of positions that the row must be moved by. Positive value indicates that the row will be moved closer to the end of the value table (down), while negative value indicates that the row will be moved up closer to the beginning (up).

Description:

Shifts row by specified number of positions.

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

// move the first line forward by one position 
PriceTable.Move(0, 1);

// move the second line backward by one position 
PriceTable.Move(1, -1);


    

1C:Enterprise Developer's Community