DHTMLX Docs & Samples Explorer

attachURL(url)

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

attaches url to a cell

  • url - url (string)

Attaching to the layout's cell:

dhxLayout.cells("a").attachURL("http://some.address.com/some.page.html");
  // link to iframe
var ifr = dhxLayout.cells("a")._frame;

Attaching to the accordion's cell:

dhxAcc.cells(id).attachURL("http://some.address.com/some.page.html");
  // link to iframe
var ifr = dhxAcc.cells(id)._frame;