Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

MultiComboBox SetSelectedKeys()

$
0
0

Hi,

 

I am using the sap.m.MultiComboBox control on my UI. I want to set a default selected key in the field.

I tried this.myField.setSelectedKeys("all"); , but this doesn't do anything.

In fact, I tried this in debug mode when there were already some keys selected in the field and it ended up clearing everything.

 

Could anyone please help?

 

Thanks,

Parul


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>