Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ravi on Feb 19, 2009 02:28
open dhtmlx forum
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
Answer posted by Support on Feb 20, 2009 06:42
Hello,

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