cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to implement a dropdown menu that supports multiple selections

WC_9842503
2-Explorer

How to implement a dropdown menu that supports multiple selections

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 1

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

Announcements

Top Tags