Set listbox multiple selection to false in script editor
I have a DS dashboard that include a listbox with the setting "multiple selection" set to true. But in some scenarios I would like to change this setting to false. I have not been able to find the command to change this setting in the script editor. What i want to write is something like "LISTBOX_1.setMultipleSelection(false);" but this is not a valid command. Is there another way to write this or do I actually need to create another listbox that I show and then hide the multiple selection listbox?
We use the newest version and patch of DS.
Karol Kalisz replied
indeed the function does not exist - single or multiple selection can be changed only on design time.
I do not have now the information on the reason of this fact.
For today, as you wrote, the only way to implement your requirement is to have exactly same placed list boxes and play with visibility.