DHTMLX Docs & Samples Explorer

attachGrid()

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

attaches dhtmlxGrid to the cell, returns grid object

Attaching to the layout's cell:

    var dhxGrid = dhxLayout.cells("a").attachGrid(); // returns grid object

Attaching to the accordion's cell:

    var dhxGrid = dhxAcc.cells(id).attachGrid(); // returns grid object