Promotic
Login logon

EditType - property of the PmfTableCell object

Description:
The property returns or sets cell editing permission of the selected table cell.
If this property is not set, then it takes (inherits) its value from the same EditType property of the parent object.
Syntax:
String EditType
Values:
no - Editing the selected cell is disabled.
auto - Editing the selected cell is enabled.
inherit (default) - The property takes its value from the parent object
Note:
Property access for read and write.
 
This property is also functional in Web panels.
Table cell editing can be enabled only if SelType == "cell".
You can start editing the table cell either by left mouse button double-clicking the cell or by pressing the Enter key over the selected cell.
Confirm editing either by pressing the Enter key or by clicking outside the cell area. Cancel the editing by pressing the Esc key. After editing, the onEditAccept event is triggered.
Example1:
JavaScriptSelect and copy to clipboard

oCell.EditType = "auto";   // Writing into the property
var sCellEdit = oCell.EditType;   // Reading from the property
oCell.EditType = "inherit";   // The property takes its value from the parent object

History:
Pm9.00.27: Created
PROMOTIC 9.0.32 SCADA system documentation MICROSYS, spol. s r.o.

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