on 12-04-2018 10:20 AM
Hi All,
In UI5 if I am loading data into a table then it will handled in chunks which are decided by Paging parameeters $top and $skip. Let's for example data to be loaded consists of 35 rows and $top = 20 and $skip = 0, then first the top 20 rows will be loaded then the next 15 rows in the second call to backend Odata services.
Do anyone have any idea that where this paging and call to call to backend Odata services is handled in UI5 framework, that is where the system validates that no further data exists in backend and hence no further calls to backend are required, like the 3rd call in above example was not made to backend as system knew there was no data.
Any help in this would be great.
Regards
Hi Harsh Jain,
I hope you wanted to know where the logic is written to do the pagination for m.table or m.list. If yes, then it will be done in GrowingEnablement.js. You can find the code at GitHub: https://github.com/SAP/openui5/blob/master/src/sap.m/src/sap/m/GrowingEnablement.js
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mahesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.