We can also use Business Rules to achieve the same.
Here we will be disabling the email field.
Below is our sample business rule to lock the email field.
The result – we have the field locked/disabled in the editable grid control.
Couple of things we need to take care of
1st the field that we are using in the condition inside business rule, last name in our case, should be there in the view.
And the Scope of the Business Rule should be either – Entity or All Forms.
Hope it helps..