Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Bill on Jan 20, 2010 07:28
open dhtmlx forum
Calendar Behind Modal Window

Hello,
I saw this post:
http://dhtmlx.com/docs/products/kb/index.shtml?cat=16&page=2&q=11148&ssr=yes&s=In%20Grid%20Behind

which is exactly the problem we are experiencing, but it does not look like anyone has replied to the final comment.

Can you please review this and let us know if you experience the issue? We also have it working on a page, but clicking the box to open the calendar in the modal window, the calendar is popping up behind any and all open windows.

We have tried setting the z-index for this with no success.

Thanks
Answer posted by Alex (support) on Jan 20, 2010 09:01

Hello,

calendar z-index can be increased in the css. For yahoolike skin:

.dhtmlxcalendar_yahoolike {
 z-index:999;
}

But if calendar is attached to input, it is necessary to locate the necessary line in the dhtmlxcalendar.js:

zIndex = 101;

and replace 101 value with some bidder number (999 for example)

if the issue isn't solved, please provide any sample that allows to recreate it.