How to disable Quick Edit for a subform
Is there a way to disable quick edit on a subform?
I tried to disable quick edit on a subform with ClientScript, but I was unable to set it to read-only with the code below.
- let fields = ZDK.Page.getField('Quoted_Items');
- field.setReadOnly(true);
log: Cannot read properties of undefined (reading 'setReadOnly')
- let fields = ZDK.Page.getForm('Quoted_Items');
- field.setReadOnly(true);
log: Cannot read properties of undefined (reading 'setReadOnly')