Skip to Content
0
Former Member
Dec 23, 2014 at 07:43 AM

Busy Dialog Not Showing Immediately

205 Views

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.