Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7790

Not showing text on dropdownbox

$
0
0

hi experts,

 

even the values are loaded but on ui no text is shown.

 

var r0c1 = new sap.ui.commons.DropdownBox("r0c1");

r0c1.bindProperty("tooltip", "/tooltip");

r0c1.bindProperty("editable", "/editable");

 

 

//Create JSON data model

var oJSONModel = new sap.ui.model.json.JSONModel();

 

 

sUrl = "/sap/opu/odata/sap/ZUS_SRV/PointSet";

 

 

oJSONModel.loadData(sUrl, null, false);

r0c1.setModel(oJSONModel);

 

 

var oItemTemplate1 = new sap.ui.core.ListItem();

oItemTemplate1.bindProperty("text", "{ZtmDockid}");

r0c1.bindItems("/d/results", oItemTemplate1);

Best regards,

Rohit


Viewing all articles
Browse latest Browse all 7790

Trending Articles