DHTMLX Docs & Samples Explorer

onDock

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

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