Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=serverWidget.Sublist for more information.
N/ui/serverWidget Module
serverWidget.Sublist
Object Description:
A sublist on a serverWidget.Form or an serverWidget.Assistant object.
To add a sublist, use Assistant.addSublist(options) or Form.addSublist(options).
This object is read-only except for instances created via the serverWidget module using Suitelets or beforeLoad user event scripts.
For a complete list of this object’s methods and properties, see Sublist Object Members.
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=serverWidget.Sublist
Example:
// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
var sublist = form.addSublist({
id : 'sublist',
type : serverWidget.SublistType.INLINEEDITOR,
label : 'Inline Editor Sublist'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4325844858.html