Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Show busy indicator when executing OData call

$
0
0

Hi,

 

I would like to add a busy indicator when pressing on the refresh button of account list overview:

 

Clipboard01.jpg

 

I use this code in my event:

 

sap.ui.core.BusyIndicator.show();
//get data:
this.service.read(path, null, this.context, false, jQuery.proxy(function(data) {  this.accountModel.setData(data);  }, this), null);
sap.ui.core.BusyIndicator.hide();

but, it doesn't work....


Viewing all articles
Browse latest Browse all 8644

Trending Articles



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