jquery - SAPUI5 Dropdown box limit -


i trying display 294 records in dropdown box, nothing displays @ all. have set size limit 500 , 300 , still nothing displays. binding, same other dropdown boxes have fewer records display +- 30 records those. has experienced same issue? here code:

this.countriesdropdownmodel = sap.ui.getcore().getmodel("countrymodel");         this.countriesdropdownmodel.setsizelimit(300);            sap.ui.getcore().getelementbyid("reasoncountryentryid").setmodel(this.countriesdropdownmodel, "countriesdropdownmodel"); 

and in view form:

new sap.ui.layout.form.formelement({                         label: new sap.ui.commons.label({text:"country"}),                         fields: new sap.ui.commons.dropdownbox({id:"reasoncountryentryid",width:"250px"})                     }), 

the data binding:

var countrytemplate = new sap.ui.core.listitem({text : "{countriesdropdownmodel>externalname_defaultvalue}"});     sap.ui.getcore().getelementbyid('reasoncountryentryid').binditems("countriesdropdownmodel>/d/results",countrytemplate); 


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -