nArea | (Long) Detecting the area of the table (see Areas in the table).
For now, only the value 1 = data area of the table (Body) can be entered. Moving a row in the header (Head) or footer (Foot) of the table is not yet possible. |
---|---|
vSrcRow | (Variant) The starting position (source).
Specifies the position of the row to be moved. For now, it is always a row index (zero-based index). |
vDstRow | (Variant) The target position (destination).
Specifies the position to which the row will be moved. For now, it is always a row index (zero-based index). |
oTable.MoveRow(1, 2, 8);
// Moves the row from position 2 to position 8
var oSel = oTable.GetSel(0);
if (Pm.IsValid(oSel))
{
var iSelRow = oSel.Row;
oTable.MoveRow(1, iSelRow, iSelRow+1);
// Moves the selected row one position down
}