Column.label

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Label used for the search column. You can only get or set custom labels with this property.

Note:

This label can only be set as a custom label or summary label. For columns that use the GROUP summary type, you must use a Custom label. For columns with non group summary types, you must use the Summary label. In SuiteScript, it is not possible to set both labels simultaneously.

Type

string

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/search Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/search Module Script Samples.

          //Add additional code
...
var columnObj = search.createColumn({
    name: 'formulanumeric',
    label: 'Numeric Formula'
});
...
//Add additional code 

        

Related Topics

search.Column
N/search Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices