on 12-12-2013 10:27 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 search ,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.
Check this... you can try same with sap.m library files.
http://scn.sap.com/docs/DOC-45343
Regards,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes it is possible by using BusyIndicator UI element.
you can see examples at SAPUI5 SDK - Demo Kit
I created demo example and you can see the code and output at JS Bin - Collaborative JavaScript Debugging
Regards,
Chandra
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.