DHTMLX Docs & Samples Explorer

onClick

fires when the user clicks on an item of the inner list attached through the attachList method

myPop.attachEvent("onClick",function(id){
      alert("You have clicked on the item with id="+id) 
})

Parameters of the callback function:

  • id - the id of the clicked item.