DHTMLX Docs & Samples Explorer

onAfterAdd Event

Parameters:

  • object which was added
  • index, at which item was added, optional
  view.attachEvent("onAfterAdd", function (obj, index){
       //any custom logic here
  });