This documentation is archived and is not being maintained.
FormTreeControl.allowEdit Method [AX 2012]
Determines whether the user can modify the contents of the control.
public boolean allowEdit([boolean value])
Run On
Client
Parameters
-
value
- Type: boolean
The value to assign to the allowEdit property.
Return Value
Type:
boolean
true if the control can be modified; otherwise, false.
When this property is set on a container control, modifications are disabled or enabled for all controls in the container.
The following example shows how to return and set the value of the allowEdit property.
// Return the value.
info (strfmt("allowEdit: %1", this.allowEdit()));
// Set the value.
this.allowEdit(false);