EasyUI Forum

General Category => Bug Report => Topic started by: kingor2001 on July 15, 2016, 10:51:37 PM



Title: zIndex property in dialog are invalid
Post by: kingor2001 on July 15, 2016, 10:51:37 PM
I would  set a dialog's zIndex, such as
<div id="dlg" class="easyui-dialog" data-options="zIndex:10000" style="width:400px;height:200px;"></div>,
and the Index property value is always 9000.


Title: Re: zIndex property in dialog are invalid
Post by: stworthy on July 16, 2016, 05:58:53 PM
The 'zIndex' value varies while the window is opened. If you want to set it manually, please try this:
Code:
$('#w').window({
onOpen: function(){
$(this).window('window').css('zIndex',10000);
}
});


Title: Re: zIndex property in dialog are invalid
Post by: kingor2001 on July 17, 2016, 07:54:59 AM
thanks!