Hi experts,
I have some questions about SAPUI5 Tables and OData...
We are currently using an ODataModel which point to a service from a SAP Netweaver Gateway server.
var oModel = new sap.ui.model.odata.ODataModel(serviceUrl); oTable.setModel(oModel); oTable.bindRows("/BudgetsSet", null, null, filters);
The problem is that some fields are computed (server side, hopefully) and these calculations take a good amount of time (~1sec per row)
We have successfully bypassed these calculations for the first $count request used for the Table's pagination.
My first question is how can I customize how the Table use $top and $skip OData parameter ? I don't want the 100 first results but just the 10th firsts.
My second question is kinda related : How do you use BusyIndicator ? I tried to call sap.ui.core.BusyIndicator.show() and sap.ui.core.BusyIndicator.hide() around my oTable.bindRows() but, as I didn't see anything, I did wrong...
I have eventually a third question : How would you do if you wanted to fill the Table as you retrieve data from the server asynchronously ? Is it realizable with an ODataModel and Table or should I use JSONModel or whatever ?
Regards