DHTMLX Docs & Samples Explorer

onDock

This event calls user-defined handlers (if there are any) and passes the following parameter:

  • itemId - the id of an item.
dhxAccord.attachEvent("onDock", function(itemId){
   // code here
});    
   // or
function doOnDock(itemId){
   // code here
});    
dhxAccord.attachEvent("onDock", doOnDock);