Skip to main content
1-Visitor
October 25, 2024
Question

How to implement a dropdown menu that supports multiple selections

  • October 25, 2024
  • 1 reply
  • 558 views

I want to implement a dropdown menu similar to combobox, but with the option to select multiple contents. How can I achieve this

I tried the following methods and found that they couldn't unfold as expected

 

omboBox combobox = new ComboBox(retnumber, retname, new ArrayList()); combobox.setId(arg0);			
combobox.setColumnName(AttributeDataUtilityHelper.getColumnName(arg0, arg1, arg2));
combobox.setMultiSelect(true);
combobox.setSelected("00");
guicomponentarray.addGUIComponent(combobox);

 

 

1 reply

Community Moderator
October 29, 2024

Hi @WC_9842503,

Thank you for your question
 

Feel free to add any additional information to your question which you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

Meanwhile, I am replying to raise awareness. Hopefully, another community member will be able to help.

 

Regards,

Vivek N
Community Moderation Team