Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js
attaches dhtmlxGrid to a cell, returns a 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