DHTMLX Docs & Samples Explorer

attachEditor()

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

attaches dhtmlxEditor to the cell, returns an editor object

Attaching to the layout's cell:

    var dhxEd = dhxLayout.cells("a").attachEditor(); // returns editor object

Attaching to the accordion's cell:

    var dhxEd = dhxAcc.cells(id).attachEditor(); // returns editor object

Attaching to a window:

var dhxEd3 = dhxWins.window(id).attachEditor();

Attaching to a tab:

var dhxEd4 = dhxTabbar.cells(tabId).attachEditor();