dhxLayout cell as viewport for windows

Hi there

How can I use a layout’s cell as a viewport for Windows?

E.g.
// layout
dhxLayout = new dhtmlXLayoutObject(document.body, ‘3W’, ‘dhx_web’);
c = dhxLayout.cells(‘c’)

// window
dhxWin = new dhtmlXWindows();
dhxWin.setSkin(‘dhx_web’);
dhxWin.attachViewportTo(c);

var dhxWin1 = dhxWin.createWindow(“dhxWin1”, 10, 10, 400, 215);

Hi
Use the next:

dhxWin.attachViewportTo(c.cell);