Skip to Content
-1
Dec 20, 2022 at 12:03 PM

Can the initial OData load be disabled in a SAPUI5 app?

462 Views

SAPUI5 freestyle app using OData v2 and two-way binding.

How do I disable the OData request on page load ?

For example, by default I want there to be no results shown in a List, then when the user choses a filter (or show all), the OData is retrieved.

In Fiori elements, there's an initialLoad property that can be set to enable/disable the loading of OData on a page load. How can this be achieved in a freestyle app?