Cols - property of the PmgWTable object
The number of table columns (counted including the fixed part).
Property access for read and write
. The preset value of this property is defined in the "Table columns
" configurator of this object.
The property can also be set by the Dim
This property is also functional in Web panels
The table structure changes on setting the number of columns, i.e. the content of all cells is cleared
The set count must not be less than the FixedCols
var oTable = pMe.Items("/Table");
var nCols = oTable.Cols;
oTable.Cols = 8;