Required library edition: Required library file: dhtmlxlayout.js
removes attached menu from a cell or the whole container
dhxLayout.detachMenu(); dhxLayout.cells(id).detachMenu();