EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: sectioni on February 27, 2020, 08:39:07 AM



Title: Can't set initial zIndex for a dialog
Post by: sectioni on February 27, 2020, 08:39:07 AM
https://jsfiddle.net/sectioni/7w2kjxLf/5/

In the window documentation there is a zIndex property.
I set it to 50 but it still starts from 9000


Title: Re: Can't set initial zIndex for a dialog
Post by: stworthy on February 27, 2020, 11:32:34 PM
Please set the 'z-index' value like this.
Code:
<script type="text/javascript">
    $.fn.window.defaults.zIndex = 50;
</script>