on 02-17-2014 8:13 PM
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
Hi Sandip,
I think allowMultiSelect is a property of sap.ui.commons.ListBox (SAPUI5 SDK - Demo Kit). This property works with ListBox:
JS Bin - Collaborative JavaScript Debugging
I've tried set a custom listBox on created dropdownBox without success:
JS Bin - Collaborative JavaScript Debugging
Could you work with ListBox or you need DropdownBox for some special purpose?
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.