Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)
Answered

Model Size Limit

Hello Forum,

how is possible to manage the model.setSizeLimit?

I have a table with 400 entries but are only shown the firsts 250.

Thanks.


Best Answer

Hi Salvatore


You can use the setSizeLimit on the model object like this:


 

modeltabUser.setSizeLimit(500);

 


Another option is to set the table to enable growing and set growing size.


Regards

Ole Andre 


Hi Salvatore


The settings is only needed to set once in the App. The default size from UI5 is 100. Size setting applies to online apps aswell as offline apps, it controls how many entries the model will display in the table/list.




Regards

Ole Andre 



1 person likes this
Answer

Hi Salvatore


You can use the setSizeLimit on the model object like this:


 

modeltabUser.setSizeLimit(500);

 


Another option is to set the table to enable growing and set growing size.


Regards

Ole Andre 

According to mine app which is not using offline data at the moment, when I have to call this method?

I tried to call it before the navigation, but is not working.

Thanks.

Salvatore.

Login or Signup to post a comment