Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Sublist.addMarkAllButtons() for more information.
N/ui/serverWidget Module
Sublist.addMarkAllButtons()
Method Description:
Adds a Mark All and an Unmark All button to a LIST type of sublist.
See Using Buttons in NetSuite for information on how Mark All/Unmark All Buttons works in NetSuite.
Returns:
A serverWidget.Button[] object
Supported Script Types:
SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Governance:
None
Module:
N/ui/serverWidget Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Sublist.addMarkAllButtons()
Example:
// Code Example 1
//Add additional code
//...
var form = serverWidget.createForm({
title : 'Simple Form'
});
var sublist = form.addSublist({
id : 'sublist',
type : serverWidget.SublistType.LIST,
label : 'List Sublist'
});
sublist.addMarkAllButtons();
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_456862121581.html