Skip to Content

Enabling a view


I am having a SAPUI5 project mobile, where I want a view to disabled until the whole data on it is completely loaded. To be more elaborate. In the first view I have a button which when clicked will navigate to another view. Here, the second view has a button and a table which is bound to a oData service. Now I want the second view to be enabled only when the data is loaded completely. Please Help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 11, 2014 at 01:42 PM

    If you really want to do this, you need to do load the oData in the first view.

    But I think thats a bad idea.

    Just init your second view and display a BusyIndicator while data is loading.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.