Modules
Objects/Functions
SuiteScript 2.0
{Field}.updateBreakType({breakType: {string*}})
N/ui/serverWidget Module
Field.updateBreakType()
Method Description:
Updates the break type of the field. Set this value using the FieldBreakType enum The break type is used to add a break in flow layout for the field.
Returns:
serverWidget.Field object
Supported Script Types:
SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Governance:
None
Module:
N/ui/serverWidget Module
Since:
2016.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Field.updateBreakType(options)
Example:
// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
var field = form.addField({
id : 'custpage_textfield',
type : serverWidget.FieldType.TEXT,
label : 'Text'
});
field.updateBreakType({
breakType : serverWidget.FieldBreakType.STARTCOL
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4335187732.html