onAfterSync

called when server side response received and processed

void onAfterSync(object statusObj,string text,object data,object loader){ ... };

Parameters

statusObjobjectobject with item ID and operation status
textstringfull text of server side response
dataobjectAJAX response object
loaderobjectAJAX loader object

Example

dp.attachEvent("onAfterSync", function(statusObj, text, data, loader){
    //... some code here ... 
});

Details

The first parameter, object looks like:

{
    id:1,
    status:"insert" //or "update", "delete"
}
See also
Back to top