DHTMLX Docs & Samples Explorer

attachGrid()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxcontainer.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

Attaching to a window:

    var dhxGrid = dhxWins.window(id).attachGrid();

Attaching to a tab:

    var dhxGrid = dhxTabbar.cells(tabId).attachGrid();