DHTMLX Docs & Samples Explorer

onAfterUpdate event

occurs for each action tag in xml response.

dp.attachEvent("onAfterUpdate", function(sid, action, tid, tag){
   if (action == "updated"){
           grid.cells(tid, 0).setValue(tag.getAttribute("price"));
   }
})

Parameters:

  • sid - existing id of an item;
  • action - action type;
  • tid - new id of an item;
  • tag - object from server-side response, related to current record.