Check documentation for the latest version of dhtmlxSuite onItemClick DHTMLX Docs

onItemClick

occurs when an item is clicked

void onItemClick(string|number id,Event ev,string trg){ ... };

Parameters

idstring|numberan id of the clicked item
evEventa native event object
trgstringa target HTML element

Example

myChart.attachEvent("onItemclick", function (id, ev, trg){
//any custom logic here
});

Back to top