This event calls user-defined handlers (if there are any) and passes the following parameter:
dhxAccord.attachEvent("onBeforeActive", function(itemId){ // code here return true; // item will be opened return false; // item will not be opened }); // or function doOnBeforeActive(itemId){ // code here return true; // item will be opened return false; // item will not be opened }); dhxAccord.attachEvent("onBeforeActive", doOnBeforeActive);