View Full Version : z-index problem in modal window

nareh tank
16 May 2013, 5:29 AM
I have to open one modal window over second modal window. after display second window both are fighting for to be in front.
I already tried bringToFront() method but it did not work.
anybody have solution for this problem.

16 May 2013, 6:11 AM
I can strongly recommend not to use 2 masks at the same time, since it is not a best practise UI wise.

I personally don't think Ext JS has a built in logic for handling this, so if you really want to, take a look into the ZIndexManager:



my approach would be to remove the modal mask of the first window before opening the second one.