nRowArea | (Long) Detecting the area of the table (see Areas in the table).
At this moment only the value 1 can be entered = data area of the table (Body). It means adding into the header area (Head) and footer (Foot) is not possible (it can only be set during the initialization phase by the InitRows method). |
---|---|
iRow | (Long) Row index (zero-based index).
-1 = insert to the end. |
nCount | [optional] (Long) Number of rows (default: 1). |
oTable.InsertRow(1, -1, 1);
var oTable = pMe.Items("/Form").Form.GetItem("idTable");
var oTabArea = oTable.GetArea(11);
var iRow = oTable.GetSel(0).Row;
oTable.InsertRow(1, iRow);
var oRow = oTabArea.GetRow(iRow);
oRow.GetCell(0).Value = "Text InsertRow";