It is possible to write into this property only if the PmForm window has not been opened yet.
This property is also functional in Web panels.
var oString = oForm.CreateItem("string", "idStr1", "Title", "EditType:readonly;");
var sEditType = oString.EditType; //Reading the value
oString.EditType = "readonly"; //Writing the value