cancel
Showing results for 
Search instead for 
Did you mean: 

Progress Indicator in mobile

Former Member
0 Kudos

Hi ,

I am developing a sample application.

I am doing item search for tablets using SAP UI 5.

After the user types filter for item seach ,until the result comes up , I want to show the progress of the search process.

Please let me know how to do it ?

Regards,

Madhumitha

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Madhumitha,

                         If you are making a oModel.read then you can use the following code

var busyDialog = new sap.m.BusyDialog({

     title : "Loading Data",

text : "Loading Data..."

};

var fnSuccess = function(){

busyDialog.close(); // Close Busy Dialog and do further Processing

}


var fnError = function(){

busyDialog.close(); // Close Busy Dialog perform Error Handling

}

oModel.read("/ItemDetails",

  null, "search="+searchQuery, true,fnSuccess,fnError);

busyDialog.open();



Regards,

                 Pruthvi.