Skip to Content
0
Nov 16, 2015 at 09:08 AM

Show busy indicator when executing OData call

6790 Views

Hi,

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

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....

Attachments

Clipboard01.jpg (16.1 kB)