Mobile App Development Software
Alpha TransForm - Free Trial
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • Client API
  • UX
  • UX methods
  • Repeating Sections
  • swapRepeatingSectionRows Method
Parent | Child | Previous | Next
  • _findRepeatingSection Method
  • _fixAllRepeatingSectionHeaders Method
  • _getRepeatingSectionRowCount Method
  • _prepareRepeatingSection Method
  • _repeatingSectionLogicalToPhysicalRow Method
  • _setRepeatingSectionRowCount Method
  • addRepeatingSectionRow Method
  • copyRepeatingSectionRow Method
  • deleteRepeatingSectionRow Method
  • duplicateRepeatingSectionRow Method
  • getInstanceNumber Method
  • getRepeatingSectionActiveRow Method
  • harvestRepeatingSectionColumn Method
  • hideRepeatingSectionColumn Method
  • moveDownRepeatingSectionRow Method
  • moveUpRepeatingSectionRow Method
  • setRepeatingSectionActiveLogicalRow Method
  • setRepeatingSectionActiveRow Method
  • setRepeatingSectionColumnWidth Method
  • sortRepeatingSection Method
  • swapRepeatingSectionRows Method
 
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

  • {dialog.object}
  • Swapping and Moving Rows in a Repeating Section
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy