Check documentation for the latest version 6.0 of dhtmlxSuite onAfterUpdate DHTMLX Docs

onAfterUpdate

fires after receiving and processing server side response

void onAfterUpdate(string|number id,string action,string tid,mixed response){ ... };

Parameters

idstring|numberid of updated item
actionstringresponse status (operation type)
tidstringnew id (applicable only for insert operations)
responsemixedxml node/json object, contains parsed xml/json response

Example

dp.attachEvent("onAfterUpdate", function(id, action, tid, response){
     //your code here
})

Details

Possible response statuses are the following:

  • updated;
  • inserted;
  • deleted;
  • invalid;
  • error.
Back to top