cancel
Showing results for 
Search instead for 
Did you mean: 

How to Remove the SeletedItem in MutiCombo Box in SAP UI5

former_member195777
Participant
0 Kudos

HI ,

I want clear the SeletedItems in MultiCombobox ,

Var ComboBox = this.byId("combo_type_id");

ComboBox.setSeletedItems([]); this is correct or else which method i can use

Help me to resolve this issue .

Accepted Solutions (0)

Answers (2)

Answers (2)

himanshupensia
Participant
0 Kudos

Hi Muthukumar,

Check this link for available methods for control ComboBox.

MultiComboBox API Reference

Use these methods as per your requirement.

ComboBox.Methodname()

ericci
Active Contributor
0 Kudos

Hi,

you should use the .clearSelection method.

So in your example, it would be

ComboBox.clearSelection()