This event calls user-defined handlers (if there are any) and passes the following parameter:
dhxLayout.attachEvent("onCollapse", function(itemId){});