cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5: Realising a Menu with the help of MultiComboBox

former_member614481
Participant
0 Kudos

Hello,

I have a Menu that should look as the following :

1. Can such a design be realized with MultiComboBox ?

2. If Yes, how to make it with MultiComboBox Design?

former_member614481
Participant
0 Kudos

EDIT:

It is indeed possible but for the model that is given the better option it is to manipulate it through controller.

In Controller:

var menu = this.byId("idMultiComboBox");
var listItem = new sap.ui.core.ListItem("ID");
var label = new sap.m.Label(); label.setText("Hallo Welt"); l.addCell(label); //Cell isn't supported -> those Error
menu.addItem(l);

Issue: Cell isn't supported by MultiComboBox unlike Table. -> How can i add a cell/w/e with a title and all the other Options to the ListItem -> than MultiComboBox.addItem(l) ?

Accepted Solutions (1)

Accepted Solutions (1)

mariusobert
Developer Advocate
Developer Advocate

Yes, this (or at least something very similar) can be done with the grouping feature of the MultiComboBox

Answers (0)