JavaScript

{dialog.object}swapRepeatingSectionRows Method

Syntax

{dialog.object}.swapRepeatingSectionRows(id,row1,row2);

Arguments

idstring

Id of the repeating section used as a source

row1number

The row containing data to move to row2.

row2number

The row containing data to move to row1.

Description

Swaps the data in two rows in a Repeating Section. Id is the id of the Repeating Section.

Example

//Swap row 1 and row 3
{dialog.Object}.swapRepeatingSectionRows('CONTAINER_1',1,3);

See Also