var that = this;
var newArray = new Array();
var oModel = new sap.ui.model.json.JSONModel();
this.getData(function (data){
each(data.Countries,function(index, countrie){
var newData = merge({
"flag":"png100px/" + countrie.CountryCode.toLowerCase() + ".png"
},countrie);
newArray.push(newData);
});
oModel.setSizeLimit(300);
oModel.setData(newArray);
that.getView().setModel(oModel, "covid");
debugger;
});
<Table id="CovidTableid" items="{covid>/}" visible="false">
<ComboBox id="TaxCodeCID" change="handelTaxCode" items="{path : '/ZTAXCODESet', length : '500'}">
<core:ListItem id="TaxCodeListID" key="{WITHT}" text="{DROP_DOWN}"/>
</ComboBox>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |