hi guys, I was wondering what would be a good way ...
# suitescript
a
hi guys, I was wondering what would be a good way to have a field on the sublist of type SELECT (serverWidget.FieldType.SELECT) to have different select values depending on which row was selected? For instance, on row 1 I’d like to have options ‘a’ and ‘b’ available as drop down, on row 2 I’d like to have options ‘c’ and ‘d’. One suggested approach to use, was to have a hidden column, populate the hidden column with values I want to appear in the drop down for that row and load those values via lineInit entry point. Problem is clearing the options with the removeSelectOptions will remove all the options. That is, if I select ‘b’ on row1 and then I’ll select option ‘c’ on row2, the row1 will be cleared of the selected options. Is there another approach to this?