Class: nlobjList

nlobjList

new nlobjList() → {nlobjList}

Return a new instance of nlobjList used for scriptable list page.
Source:
Returns:
Type
nlobjList

Methods

addButton(name, label, script)

add a button (nlobjButton) to the footer of this page.
Parameters:
Name Type Description
name string button name
label string button label
script string button script (function name)
Since:
  • 2008.2
Source:

addColumn(name, type, label, align) → {nlobjColumn}

add a column (nlobjColumn) to this list and return it.
Parameters:
Name Type Argument Description
name string column name
type string column type
label string column label
align string <optional>
column alignment
Since:
  • 2008.2
Source:
Returns:
Type
nlobjColumn

addEditColumn(column, showView, showHref) → {nlobjColumn}

add an Edit column (nlobjColumn) to the left of the column specified.
Parameters:
Name Type Argument Description
column nlobjColumn
showView boolean should Edit|View instead of Edit link
showHref string <optional>
column that evaluates to T or F that determines whether to disable the edit|view link per-row.
Since:
  • 2008.2
Source:
Returns:
Type
nlobjColumn
add a navigation cross-link to the page.
Parameters:
Name Type Description
type string page link type: crosslink|breadcrumb
title string page link title
url string URL for page link
Since:
  • 2008.2
Source:

addRow(row)

add a row (Array of name-value pairs or nlobjSearchResult) to this portlet.
Parameters:
Name Type Description
row string[], nlobjSearchResult data used to add a single row
Since:
  • 2008.2
Source:

addRows(rows)

add multiple rows (Array of nlobjSearchResults or name-value pair Arrays) to this portlet.
Parameters:
Name Type Description
rows string[][], nlobjSearchResult[] data used to add multiple rows
Since:
  • 2008.2
Source:

setScript(script)

set the Client SuiteScript used for this page.
Parameters:
Name Type Description
script string, int script ID or internal ID for global client script used to enable Client SuiteScript on page
Since:
  • 2008.2
Source:

setStyle(style)

set the global style for this list: grid|report|plain|normal.
Parameters:
Name Type Description
style string overall style used to render list
Since:
  • 2008.2
Source:

setTitle(title)

set the page title.
Parameters:
Name Type Description
title string
Since:
  • 2008.2
Source: