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

onClick

fires when the user clicks on an item of the list attached to the popup

void onClick(string|number id){ ... };

Parameters

idstring|numberthe id of the clicked item of the list

Example

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

Back to top