Skip to Content

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

Multi Select in a Dropdown / Combo Box ?

Hi All

How to make the the dropdown or combo box allow multi select? Dropdown options are added into a list and it has ''multi select" option set to true..

new sap.ui.commons.DropdownBox(

  {

  required:true,

  id:'idPartsComboBox',

  layoutData:twoSpanLayout.clone(),

  listBox: new sap.ui.commons.ListBox({

  allowMultiSelect:true,

  items:[

           new sap.ui.core.ListItem({text:'Airbags'}),

           new sap.ui.core.ListItem({text:'Battery'}) 

  ],

  })

  }),

Is there way to make multi select in DD?

Appreciate your help.

Regards

Sandip

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question