Skip to Content
0
Former Member
Sep 04, 2014 at 07:47 AM

How to show clock or hourglass image in Dailogbox on some Action

110 Views

Hi All,

i have a requirement to show loading wheel or clock or hourglass image as soon as i click on search button in the lookup.i.e in DailogbOx

I am trying to show GIF image of loading wheel.

I tried mutiple ways like::

1)

var oMyTable = new sap.ui.table.Table();

  • oMyTable.setBusyIndicatorDelay(0);
  • oMyTable.setBusy(true); //open busy indicator

  • oMyTable.setBusy(false); //close busy indicator

2)sap.ui.core.BusyIndicator.show()

sap.ui.core.BusyIndicator.hide()


3)sap.m.BusyDialog.open()

sap.m.BusyDialog.close()


4)

attachRequestSent(function(){

// // sap.ui.core.BusyIndicator.show();

// oControl.oResultTable.setBusy(true);

// });

//.attachRequestCompleted(function(){

// //sap.ui.core.BusyIndicator.hide();

// oControl.oResultTable.setBusy(false);



These are working only after we get data in the table.But i want to show the loading wheel image as soon as i click on serach.i.e before the data gets populated in the lookup table.

The above sample codes are placed properly .Is there something because we are showing lookup in a DialogBox and there is some background screen.

Please advice

PFA screenshot

Attachments

Lookup.png (8.1 kB)