in which document do you want to add a sublist mul...
# suitescript
h
in which document do you want to add a sublist multi-select field?
n
Its a suitelet page and I want to add multiselect drop down field on a sublist
but seems its not possible by directly setting FieldType : Multiselect
h
t.addColumn({ id: 'custentity_multiselect', type: 'text', label: 'Multiselect', align: 'LEFT' });
@Nilesh Patil use this
n
t is sublist right?
h
yes
n
this is an entry field right?
I need to set values to this dropdown and should be able to select those values on the suitelt!
TypeError: Cannot find function addColumn in object serverWidget.Sublist.
we can’t add it to Sublist, I think it can be used to add on list
h
serverWidget.FieldType.MULTISELECT try this
n
it does not work
I already tried that
m
Multi-Select is not supported in the
Sublist.addField()
function as documented here. https://system.na0.netsuite.com/app/help/helpcenter.nl?fid=section_456415649413.html&whence=
"Use the serverWidget.FieldType enum to set this value. The DATETIME, FILE, HELP, INLINEHTML, LABEL, LONGTEXT, MULTISELECT, RADIO and RICHTEXT values are not supported with this method."