Skip to Content
0
Jun 17, 2015 at 11:49 AM

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

14 Views

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) {

oController.fetchProducts();

},

})

})

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,

Chetna