My purpose is to show Control Busy Indicator when I send a data to my oModel create function. But I can't see it maybe because of oModel sync issues. It should appear before oModel is called and disappear when fnSuccess function works. I tried to use sync create function like :
var fnSuccess = function(oData, oResponse) {
oVbox.setBusy(false);
};
oVbox.setBusy(true);
oModel.create("sPath", serviceData, null, fnSuccess, fnError, true);
but still I can't see control busy indicator. Also I have same problem with Busy Indicator. Thank you in advance.
try, oVbox.setBusyIndicatorDelay(0); then oVBox.setbusy(true);
if that does not work, try to add a small delay between setBusy and calling the create method. (with setTimeout)