Update cookies preferences
Promotic

SetArray - method of the PmfTableArea object

Description:
Assigns an array of values to the cells of the given table area.
Syntax:
Empty SetArray(PmArray aArray)
Parameters:
aArray(PmArray) 2-dimensional array of values (PmArray). The number of array elements must be the same as the number of cells in the given table area.
Note:
This method is also functional in Web panels.
See also:
Example:
JavaScriptSelect and copy to clipboard

var aValues = Pm.CreatePmArray(2, 2, 3);
aValues.SetItem("text 1", 0, 0);
aValues.SetItem("text 2", 1, 0);
aValues.SetItem("text 3", 0, 1);
aValues.SetItem("text 4", 1, 1);
aValues.SetItem("text 5", 0, 2);
aValues.SetItem("text 6", 1, 2);
oTableArea.SetArray(aValues);

History:
Pm9.00.28: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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