Remove NetSuite Sublist Button -


i have netsuite suitelet script listing of customer's credit cards can edit cards themselves.

i remove "remove" button sublist, if possible. i've looked on netsuite support site, no luck. has encountered before?

below code have:

var creditcardsublist=form.addsublist('custpage_credit_card_sublist','inlineeditor','current credit cards');  /* not work */ form.removebutton('custpage_credit_card_sublist_remove');  /* not work either*/ creditcardsublist.removebutton('custpage_credit_card_sublist_remove'); 

thanks assistance this.

actually client side have do.

you create client script go along suitelet. use form.setscript... associate it.

in client script create initline function. function can use jquery (automatically included netsuite) find , remove remove button.

this hack netsuite doesn't have api manipulating lists


Comments

Popular posts from this blog

javascript - How to diff two immutable objects -

javascript - React.js: onClick function from child to parent -

c# - How can I have the VS Debugger break in the correct location for exceptions thrown in Async methods in a Console App? -