Promotic

GetCellEditable - method of the PmgWTable object

Description:
Returns the flag whether it is enabled to edit the cell.
Syntax:
Boolean GetCellEditable(Long Row, Long Col)
Parameters:
Row(Long) If the value is greater or equal 0 then it is a row index (zero-based index, counted including the fixed part).
Value -2 means the last row.
Col(Long) If the value is greater or equal 0 then it is a column index (zero-based index, counted including the fixed part).
Value -2 means the last column.
Note:
The method is functional only if the Interaction property is set to 3.

This method is also functional in Web panels.
See also:
Example:
Detects the possibility to edit the cell in the 2nd row and 5th column.
JavaScriptVBScriptSelect and copy to clipboard

var bEditable;
var oTable = pMe.Items("/Table");
oTable.Interaction = 3;
bEditable = oTable.GetCellEditable(1, 4);

History:
Pm8.02.00: Property CellEditable is replaced by methods GetCellEditable and SetCellEditable.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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