Problem with setWidth() function

Hi
We created a layout using dtmlx 3.0 as follows

  1. var dhxLayout = new dhtmlXLayoutObject(“parentId”, “2U”);
  2. var leftPanel=dhxLayout.cells(“a”);
  3. var rightPanel=dhxLayout.cells(“b”);
  4. leftPanel.setWidth(370);

On executing the 4th line we get the error as follows in firebug:
this.polyObj[a[c][f]] is undefined.

The code seems to run fine when using the parent window. The problem arises when we try to load the layout onto a child window.

Please suggest any solution or workaround.

Regards
Lakshaya

Could you make the complete demo to reproduce the problem?
docs.dhtmlx.com/doku.php?id=othe … leted_demo

I need to be convinced that you have included all necessary files in the dhx library