Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

Field.richTextWidth

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Field.richTextWidth for more information.

N/ui/serverWidget Module
Field.richTextWidth
Property Description: The width of a rich text field, in pixels. The minimum value is 250 pixels and the maximum value is 800 pixels. Rich Text Editing must be enabled.
Type: number
Supported Script Types: SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Module: N/ui/serverWidget Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Field.richTextWidth

Example:

// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
var field = form.addField({
id : 'custpage_textfield',
type : serverWidget.FieldType.RICHTEXT,
label : 'Rich Text'
});
field.richTextWidth = 100;
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4335332981.html