serverWidget.createList(options)
Method Description |
Creates a standalone list. |
Returns |
serverWidget.List object |
Supported Script Types |
Suitelets For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Since |
2015.2 |
Parameters
The options parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
string |
required |
The title of the list. |
2016.1 |
|
Boolean |
optional |
Indicates whether to hide the navigation bar menu. By default, set to If set to |
2016.1 |
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 list = serverWidget.createList({
title : 'Simple List'
});
...
//Add additional code