on 12-12-2013 10:26 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.