on 12-08-2018 3:08 PM
Hello Expert,
Whenever a oData request is made, by default UI5 adds the parameter $skip=0 & $top=100. Is there a way to override this ?
Kindly advice.
It will only happen if the control supports it.
for e.g., if you use m.table or m.List or ui.table, it has some feature called threshold & growing.
If growing property is set to true then on scoll/onclick of load it will get the data based on the threshold you set. Lets say if the threshold is 10, it will fetch the first 10 records and then after scrolling it will fetch from 11 - 20 (10 more records) and how it does it? it uses the top & skip of entityset.
So you can give a maximum of 1000 or 2000 threshold or according to your requirement else you can set growing to false.
SAP UI5 recomends to use the growing and threshold to improve the performance. you can read it in the description there and in guidelines as well. So better use the growing & threshold
https://ui5.sap.com/#/api/sap.m.Table
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.