DHTMLX Docs & Samples Explorer

detachMenu()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxlayout.js

removes attached menu from a cell or the whole container

dhxLayout.detachMenu();
dhxLayout.cells(id).detachMenu();