dhxLayout.cells("a")._frame is undefined

I -suddenly- get this error: ‘dhxLayout.cells(“a”)._frame is undefined’ while I have not altered my source from when I used an earlier version of DHTMLX, 2.5 build 91111.

Now, in version 3.0 build 110713, I continuously get this error shown, while debugging in FireBug

How do I solve this? Your documentation is rather difficult and oblique, often hard to follow, and lacking severely in transparency in use of DHTMLX.


Please, use dhxLayout.cells(“a”).getFrame() - it should fix a error

I have the same problem with dhtmlxSuite_v30_pro_111031_eval.
Using dhxWins.window(“item”).getFrame() doesn’t fix the problem.

In fact, in my case, it works with dhxLayout.cells(“item”) but NOT with dhxWins.window(“item”).

With dhxWins.window(“item”) it works too. See my attached sample.
window_getFrame.rar (243 KB)

It works now. Instead of using dhxWins.window(“item”), I use the variable:

wItem = dhxWins.createWindow(...
ifr = wItem.getFrame();

But using this not work:

dhxWins.window("item").attachURL(url, true);
ifr = dhxWins.window("item").getFrame();

In Darya’s sample, you may use both methods:

w1 = dhxWins.createWindow(“w1”, 20, 30, 500, 450);


dhxWins.createWindow(“w1”, 20, 30, 500, 450);

In the latter case “w1” in window method - id that is defined in the createWindow method