DHTMLX Docs & Samples Explorer

attachForm()

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

attaches dhtmlxForm to a cell, returns a dhtmlxForm object

Attaching to a layout's cell:

var dhxForm = dhxLayout.cells("a").attachForm(); // returns a dhtmlxForm object

Attaching to an accordion's cell:

var dhxForm = dhxAcc.cells(id).attachForm(); // returns a dhtmlxForm object

Attaching to a window:

var dhxForm = dhxWins.window(id).attachForm();

Attaching to a tab:

var dhxForm = dhxTabbar.cells(tabId).attachForm();