Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Busy Dialog Not Showing Immediately

$
0
0

Hi all,

 

 

 

I have a tree node in my application. If i select that tree node i want to show a busy dialog and then that particular page should render.

 

For that i have written the code as

 

 

onTreeSelect: function() {

 

var oBusyIndicator = new sap.m.BusyDialog({text: "Loading..."});

oBusyIndicator.open();

 

here comes my ajax call......

 

 

oBusyIndicator.close();

 

oSplitApp.toDetail("myView");

 

},



The busy indicator is not showing immediately when i click on that tree node. It takes some time to open the busy indicator.

But when i debug and see it is opening properly.


How can i overcome this.

Please help me on this.




Thanks

Sathish.


Viewing all articles
Browse latest Browse all 8124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>