I've got a Suitelet, with a SELECT of type Item. ...
# suitescript
d
I've got a Suitelet, with a SELECT of type Item. Is there a way I can make it WIDER? I've got some long names to deal with.
s
use HTML instead of serverWidget?
d
I wish, I've only got the itemId (and want to avoid unit usage trying to gather the Item name, type and generating a link. Was hoping I can just keep using the
source
='item'
b
client script to select the element and change its width
I dont think updateDisplaySize will help you for select fields
a
@darrenhillconsulting Your field has an ID set by you when you create the field in the suitelet, the ID is going to be the same always, so in this particular case you can use HTML (Client Script attached to the Suitelet) to modify the field. getElementById() etc...
d
Thanks guys ... was hoping to stay away from DOM manipulation. Appreciate the feedback!
a
In this particular scenario DOM manipulation should be perfectly fine and safe.