Skip to Content
author's profile photo Former Member
Former Member

Help please! I want a display all the elements all the elements of my model.

Hello everyone !

I created a list that is bind to a model that includes 200 elements, 
but my list only shows me 100 articles.
How could I display all the elements that are in my JSON model.

Thanks guy!
// Airport.controller.js

    onInit: function() {

			var oList = this.getView().byId("List01");

				path: "JSON>/products",
				template: new sap.m.StandardListItem({
				type : "Navigation",
				title: "{JSON>fields/aeroport}",
					press:[this.onPress ,this]
// Airport.view.xml

<mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" controllerName="SAPUI5CoolProject.controller.OtherAirport" 

<App id="OtherAirport">
<Page title="All airport" showNavButton="true" navButtonPress="goBackPrincipalPage">
<List headerText="All airport"  id="List01" press= "onPress"  >
<Title text="All airport"/>
<SearchField width="40%" placeholder="Recherche" search="onFilterAirport" />

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Apr 23, 2018 at 03:39 PM

    the framework defaults the query to only 100 rows. You may manually invoke service and bind data json to select control and this should bypass the framework default.



    Add comment
    10|10000 characters needed characters exceeded