on 2018 Dec 17 9:54 AM
Hi Gurus,
Please enlighten me on below situation.
I need to fetch approx 4 million records combining 5 tables (total 38 fields) using OData and display in SAP UI5 application using sap.ui.table. Will this hamper the performance of the UI application or crash the application ?
I do not want to use pagination and bind to OData directly as i need to filter on all 38 fields (5 tables) which is tedious if each time the service is hitting gateway the filter has to occur on gateway. If we bind JSON model to sap.ui.table all the filter happens on the UI layer itself which in turn reduces the round trip and also code complexity.
Please advice on the approach.
Request clarification before answering.
There are too many records..
You can use the growing property where you have a lot of entries in some elements like sap.m.List:
The List control provides a container for all types of list items. For mobile devices, the recommended limit of list items is 100 to assure proper performance. To improve initial rendering of large lists, use the "growing" feature. Please refer to the SAPUI5 Developer Guide for more information..
See section "Lists" in the documentation for an introduction to sap.m.List control.
Maybe your better solution will be create "Before & Next" buttons and load entries with restrictions..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jorge,
We are using sap.ui.table control as it supports filtering on the column (38 columns needs to be filtered). The growing mechanism (threshold) is available only for direct OData binding and not for JSON model binding in sap.ui.table or am i missing something ?
If we directly bind the table to OData the filtering should be done in gateway not on UI.
User | Count |
---|---|
73 | |
30 | |
8 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.