DHTMLX Docs & Samples Explorer

onItemClick Event

Parameters:

  • id of item;
  • native event object
  • target html element
  view.attachEvent("onItemClick", function (id, ev, html){
       //any custom logic here
       return true;
  });

Event is blockable, if non-true value returned from custom method, default reaction will be blocked