Rows - property of the PmgWTable object
Description:
The number of table rows (counted including the fixed part).
Note:
Property access
for read and write. The preset value of this property is defined in the "
Total number of rows" configurator of this object.
The property can also be set by the Dim method.
In order to make the modification visible after write, it is necessary to call the Draw method.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTable = pMe.Items("/Table");
var nRowss = oTable.Rows; //reading
oTable.Rows = 20; //writing
Dim oTable, nRowss
Set oTable = pMe.Items("/Table")
nRowss = oTable.Rows 'reading
oTable.Rows = 20 'writing