Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Set listbox multiple selection to false in script editor

Hi experts

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.

Kind regards

Erik

replied

Hello Eric,

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.

Regards, Karol

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question