Skip to Content
avatar image
Former Member

Autocomplete Control used as template for table field not showing full json array. How to use setSizeLimit() method in this case?

Hello experts,

I am using autocompleet control in my project in the following manner:

stockTable.addColumn(new sap.ui.table.Column({

  label: new sap.ui.commons.Label({text: "Product Name",wrapping : true}),

template:  new sap.ui.commons.AutoComplete({

  tooltip: "Enter Product name",

  id : "prodListId",

  maxPopupItems: 5,

  items: {

                 path: "/",

                 template: new sap.ui.core.ListItem({text: "{PRODUCTNAME}", wrapping: true})


  liveChange : function(oEvent) {





Now the control is showing only 99 values. I went through following scn link :

still i am not able to figure out how to use setSizeLimit() method in my case.

In my case auto complete control is part of my table and i am binding my table with a model. I tried setting size limit of the model which i was bvinding to the corresponding table, but still it shows only 99 values.

Please tell me how do i set value in my case.

Thank you,

Best Regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 17, 2015 at 12:00 PM

    you are calling the url for getting values.

    var aData =Store those data;


    oTable.setSizeLimit(aData.length);//it will show all the data coming from back end.

    do table binding things here.

    Add comment
    10|10000 characters needed characters exceeded