Remove NetSuite Sublist Button

Client script pageInit() and initLine() functions can use jQuery (automatically included by Netsuite) to find and remove the Remove button.

Code Snippet:

//for every button you want to hide, modify the scr += line
var scr = "";
scr += 'jQuery("#print").hide();';
scr += 'jQuery("#addmessage").hide();';
scr += 'jQuery("#addcontact").hide();';

Leave a comment

Your email address will not be published. Required fields are marked *