Is z-index for a Window always 10003

2 posts, 0 answers
  1. Morten
    Morten avatar
    351 posts
    Member since:
    Jul 2012

    Posted 05 Aug 2020 Link to this post

    Is z-index for a Window always 10003
  2. Dimitar
    Admin
    Dimitar avatar
    809 posts

    Posted 07 Aug 2020 Link to this post

    Hello Morten,

    The Window utilizes the specified z-index(10003) internally and applies it to the wrapper element. In case you would like to modify it, you can do so via JS as follows:

    <script>
      $(document).ready(function() {
          $(".k-window").each(function(i, elem){
              $(elem).css("z-index", 500000);
          });
      });
    </script>

    or via CSS:

    <style>
    .k-overlay {
        z-index: 100000 !important;
    }
         
    .k-widget.k-window {
        z-index: 100001 !important;
    }
    </style>

    Regards,
    Dimitar
    Progress Telerik

Back to Top