When the Enabled property is enabled, the control can have focus. Users can select the control by clicking on it. If the control is included in the tab order, users can tab to it.
If the Enabled property is not enabled, the control cannot have focus and the user cannot select it.
dw_1.items.itemcode.enabled=true;
Note:
In edit forms use protect
In List forms the enabled property is always for all lines. It is not possible to protect one field in one line.