Is there a way to disable adding to a sublist in t...
# suitescript
a
Is there a way to disable adding to a sublist in the ui (in a suitelet) but enable checking a box and adding rows in a client script?
r
The way I have done this in the past is set the other column to be disabled or inline when generating them in the code.
w
We have also solved this by hiding the real sublist and adding a custom one in Beforeload adding all columns and checkboxen that we want. In before submit we handle what the user has done in the custom sublist to apply to the real sublist. This way there isn't even an option to add new lines as the sublist is of a type that doesn't allow it. Perhaps it is possible to change the sublisttype on the real sublist?