we want to take care that all running busy indicators will be stopped after a couple of time. How can we do that? For the moment we use setBusy(false) for each control. Thanks a lot!
How to setBusy(false) Indicator SAPUI5 for all controls at one time
1.1k Views Asked by user2405095 At
1
There are 1 best solutions below
Related Questions in SAPUI5
- Use XLSX Node Module in SAPUI5
- The function can not be called in sapui5. Shortcut is not executable
- How to change the base url from https://sdk.openui5.org to my local project?
- multi select option for F4 help (Value List) in Table of an Object Page
- How to make Two Header Rows for table in UI5
- sap.ui.table Columns with Footer option
- How to generate Component-preload.js file for Fiori App in VSCode?
- PDF Editor to replace certain Elements (SAP / JavaScript)
- Why are fallback translations not applied in my multi-component App?
- SAP UI5 Live Search in Input Box causing out of memory for the app on SAP BTP
- SAP UI5 version 1.108.20 propertyChange alternative
- Why are the sap-icons broken when I use a custom theme?
- How to apply custom theme from Theme Builder to standalone SAPUI5 app in index.html?
- Error: Unsupported event 'propertyChange': v4.ODataModel#attachEvent
- How to build SAPUI5 application that should only have "component-preload.js"?
Related Questions in BUSYINDICATOR
- QTimer is not triggered immediately after completing Blocking task
- Display BusyIndicator during a GoToAsync Call
- Xceed WPF Toolkit - BusyIndicator - creating dynamic loading messages in C#, data binding in a data template
- WPF Toolkit BusyIndicator with LiveCharts - Indicator is overlapped by the chart
- BusyIndicator animation stops with delayed operation
- BusyIndicator's high CPU usage in QtQuick 2
- JS page load indicator for iOS
- Browser bug? Cannot display busy indicator unless idle for at least 20ms
- BusyIndicator for TabControl
- Styling the Busy indicator in QML 2.0
- How to display a wait indicator for f:viewAction?
- Xamarin - make appear element over Grid Form
- JavaFX progress indicator stop spinning when heavy load runs
- SAPUI5 why is the global BusyIndicator hiding too early?
- Finer control over Angular rendering
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think that you should change your overall approach because it's not a good UI/UX pattern.
First of all, why do you have more than one busy control in your view? For instance, you if you are loading record in a list you just set busy the list, not the whole page. If you are submitting a form data, you set busy only the form not everything else.
Second of all, why do you say "For the moment we use setBusy(false) for each control"? You should remove the busy state after a specific event. For istance when you finished to load list's result or you get the result of a form submission.
Anyway, to solve your current issue, the best approach is to use XML binding with a temporary JSON model.
You could have a JSON model like with content like this:
and you bind the busy property of the control to
youtJSONModel>/busyat this point when you need to set the control to a busy state you can dothis.getView().getModel("youtJSONModel").setProperty("/busy", true);and when you have finished the operation you can dothis.getView().getModel("youtJSONModel").setProperty("/busy", false);