moveRow

moveRow(src: Integer;
        dst: Integer);

The moveRow method of the JadeTableSheet class can be used to move a row of the Table sheet referenced by this object.

The following example of the moveRow method moves row 4 to row 2. Row 2 becomes row 3, and row 3 becomes row 4.

table1.accessSheet(2).moveRow(4, 2);

The following example of the moveRow method moves row 2 to row 4. Row 3 becomes row 2, and row 4 becomes row 3.

table1.accessSheet(2).moveRow(2, 4);

The current row is adjusted if that row is affected.