SAPUI5 - Client Model for sap.m.Select to show more that 100 rows

var oData = { results: [
    { key: "1", text: "01" },
    { key: "2", text: "02" },
    ...
    { key: "200", text: "200" }
] };

var oModel = new JSONModel(oData); 
oModel.setSizeLimit((oData.results.length)); 

this.setModel(oModel, "myData");



<Select items="{myData>/results}">
    <items>
        <core:Item text="{myData>text}" key="{myData>key}"/>
    </items>
    <customData>
        <core:CustomData key="required" value="true"></core:CustomData>
    </customData>
</Select>

Popular posts from this blog

SAP CPI - Loop Process Call with SuccessFactor (oData V2)

Setting IntelliJ IDEA to run Groovy Script

C# - BASE64 to Image