DHTMLX Docs & Samples Explorer

attachMenu()

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

attaches dhtmlxMenu to a cell, returns a menu object

Attaching to the layout's cell:

var dhxMenu = dhxLayout.cells("a").attachMenu // returns menu object

Attaching to the accordion's cell:

var dhxMenu = dhxAcc.cells(id).attachMenu // returns menu object