serverWidget.Sublist
The content in this help topic pertains to SuiteScript 2.0.
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).
Note:
This object is read-only except for instances created using 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.x Suitelet Script Type and SuiteScript 2.x User Event Script Type (beforeLoad(context)) |
Module |
|
Since |
2015.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/ui/serverWidget Module Script Samples.
//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