Row | (Long) Number of the row from which the rows are to be removed. The value >=0 means that it is the row index (zero-based index). The value -2 means that Count rows has to be removed from the end of the table. The value -3 means that all the row of the table are to be deleted. |
---|---|
Count | [optional] (Long) The number of rows for remove. The default value is 1. |
"Read only" columns:
If at least one cell is locked in "Read only" column by writing non-empty value, then the whole structure of the table is locked. Then it is no longer possible to add or remove rows or columns or change the structure of the table. The structure and dimensions of the table must be defined and modified before writing first non-empty value into a cell in "Read only" column.
var oDataTable = pMe.Pm("/DataTable");
oDataTable.RemoveRow(0);
oDataTable.RemoveRow(-2, 5);