Update cookies preferences
Promotic

RemoveRow - method of the PmgWTable object

Description:
Removes a row (or more rows) on the specified position. Existing rows after this position are moved.
Syntax:
Long RemoveRow(Long Row, [Long Count])
Parameters:
Row(Long) If the value is >=0, then it is a row index (zero-based index).
Value -2 means that the last row is removed.
Value -3 means that all rows except fixed are removed.
Count[optional] (Long) The number of rows for remove.
The default value is 1.
If the requested number is greater than existing then the method is not executed.
Return value:
Returns the number of all (also fixed) rows (after requested rows are removed).
Note:
Fixed row cannot be removed by this method.

This method is also functional in Web panels.
See also:
- PmgWTable.Rows (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTable = pMe.Items("/Table");
oTable.RemoveRow(-2);
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.