DHTMLX Docs & Samples Explorer

onCollapse Event

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

  • itemId - the id of a collapsed item;
dhxLayout.attachEvent("onCollapse", function(itemId){});