dhtmlxWindow

Hi!

I have two pop up’s one as parent and other as child pop up.When I open parent pop up and then child pop up over parent pop up.I want to make disable that parent popup.I have used dhmx.zIndexStep to make parent window disable but not working.Here is the sample code:

dhxWins=new dhtmlxWindow();

parent=dhxWins.createWindow(“w1”, 10, 10, 1000, 380);

child=dhxWins.createWindow(“w2”, 10, 10, 100, 100;

dhxWins.windows(‘w1’).zIndexStep=10;//parent

dhxWins.windows(‘w2’).zIndexStep=100;//parent

Hello,

zIndex do not affect on disable state. you’d better make child popup modal like this:
dhxWins.windows(‘w2’).setModal(true);