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

default sap combox box

$
0
0

Hi,

 

I am creating combo box with list items and list items are bound to a model for list item key and text are from model.

 

now when I display the combo box it is shown with no value, I want to default it to some value based on key from the model.

 

I tried setSelectedKey and setSelectedItemId both seems not working or I missed something.

 

how can I default the value in this case?

 

here I am using standard code which is attached with this.


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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