Check documentation for the latest version of dhtmlxSuite onActive DHTMLX Docs

onActive

occurs when the user clicks left mouse button on item's heading

void onActive(string|number id,boolean state);
idstring|numbercell id
statebooleansingle mode - always true, multimode - true/false

Example

var myAcc = new dhtmlXAccordion(...);
 
myAcc.attachEvent("onActive", function(id, state){
    // your code here
});

Back to top