moveRow method

Moves a table row to a new position.

Syntax

 retVal = object.moveRow(indexFrom, indexTo);

Parameters

indexFrom [in]

Type: long

long that specifies the index in the rows collection of the table row that is moved.

-1

Default.

indexTo [in]

Type: long

long that specifies where the row is moved within the rows collection.

-1

Default.

Standards information

There are no standards that apply here.

Remarks

Rows between the indexFrom and indexTo positions in the rows collection are shifted based on the direction the row moves.