How to get layout object attached to window

Hi,
I have created a window like
var dhxWindow = new dhtmlXWindows();
popupWin2 = dhxWindow.createWindow(‘winName2’, 50, 50, 900, 600);
popupWin2.setText(‘winTitle’);
popupWin2.denyPark();
popupWin2.denyResize();
popupWin2.setModal(false);
popupWin2.centerOnScreen();
layout = popupWin2.attachLayout(“1C”);
layout.cells(“a”).setText(‘sample’);
layout.cells(“a”).hideHeader();

then can i get the layout cell object using dhxwindow.

Thanks in advance,
Naresh

Hi
Try this, man:
popupWin2.childNodes[0].childNodes[4].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[0]
:slight_smile:

Thanks Mr. MCD

Its worked :slight_smile: