This is a migrated thread and some comments may be shown as answers.

Is z-index for a Window always 10003

1 Answer 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 1
Iron
Veteran
Iron
Morten asked on 05 Aug 2020, 01:34 PM
Is z-index for a Window always 10003

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 07 Aug 2020, 08:07 AM

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

Tags
Window
Asked by
Morten
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Dimitar
Telerik team
Share this question
or