Join Slack
Powered by
but the field is still enable
# suitescript
s
Simon
11/05/2019, 2:21 PM
but the field is still enable
l
Lea CC
11/05/2019, 2:28 PM
Try this syntax:
Lea CC
11/05/2019, 2:29 PM
var objSublist = objRecord.getSublist({ sublistId: 'item' }); var objField = objSublist.getField({ fieldId: 'item' }).; objField.isDisabled = true;
n
NElliott
11/05/2019, 2:34 PM
field.updateDisplayType({ displayType: serverWidget.FieldDisplayType.DISABLED }); should work too I believe.
s
Simon
11/05/2019, 2:40 PM
😞 both solutions did not work. Thanks thou
n
NElliott
11/05/2019, 2:41 PM
maybe share your code? BTW you actually running the code for each column concerned right?
NElliott
11/05/2019, 2:43 PM
Here's a snippet of an inlineeditor sublist with a column set to disabled, that works for me.
Untitled
s
Simon
11/05/2019, 3:16 PM
Excellent. It's working. It was my fault. Sorry
6
Views
Open in Slack
Previous
Next