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 process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -