DeleteCol - method of the PmfTable object

Delete one or multiple columns.
Empty DeleteCol(Long nColArea, Long iCol, [Long nCount])
nColArea(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 (Main). It means deleting in the left part (Left) is not possible (it can only be set during the initialization phase by the InitCols method).

iCol(Long) Column index (zero-based index).

-1 = Delete from the end.

nCount[optional] (Long) Number of columns (default: 1).

-1 = Delete all columns from the selected column to the end.

This method is also functional in Web panels.
See also:
JavaScriptSelect and copy to clipboard

oTable.DeleteCol(1, 3, 1);

Pm9.00.10: Fixed bug: The method did not work in the Web panel if iCol parameter was set to -1 (i.e. Delete from the end).
Pm9.00.04: Created
PROMOTIC 9.0.14 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice