Promotic

Interaction - property of the PmgWTable object

Description:
Control type of the table.
Syntax:
Long Interaction
Values:
0 - All cell cannot be marked nor edited
1 - All non-fixed cells can only be marked (the onCellClicked event is triggered).
After pressing the Enter key (or by left mouse button double-clicking) the onCellEditRequested event is triggered, but it is not switched to edit mode.
2 - All non-fixed cells can only be marked (the onCellClicked event is triggered) and edited (key Enter or left mouse button double-click).
When switching to edit mode the onCellEditRequested event is triggered.
Editing the cell is completed by pressing the Enter key (the onCellEdited event is triggered).
3 - All non-fixed cells can only be marked (the onCellClicked event is triggered).
Only those cells can be edited where editing was enabled by the SetCellEditable method. Cell editing is disabled by default.
Note:
Property access for read and write. The default value of this property is defined in the "Edit mode" configurator of this object.
 
The property can also be set by the Dim method.

This property is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTable = pMe.Items("/Table");

var nInteraction = oTable.Interaction;   // Reading from the property
oTable.Interaction = 1;   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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