EasyUI Forum
March 28, 2024, 03:53:38 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: $.messager.progress behind combotree's panel  (Read 6086 times)
iskandarkbr
Newbie
*
Posts: 36


View Profile Email
« on: November 20, 2017, 09:10:23 PM »

I use combotree's extend keyhandler to query node in its tree panel.
While searching process, i want to show $.messager.progress .
It works, but the $.messager.progress appears behind the combotree's panel.

How to show $.messager.progress on top of combotree's panel ?

thanks a lot
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 on: November 21, 2017, 01:41:41 AM »

Set the 'z-index' css style after displaying the message dialog.
Code:
var win = $.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});
win.dialog('dialog').css('z-index', 9999999);
Logged
iskandarkbr
Newbie
*
Posts: 36


View Profile Email
« Reply #2 on: November 23, 2017, 02:55:54 AM »

well done jarry, thank alot

now, i got new problem using $.messeger.progress,
why it appears last time, after execute codes behind.

$.messager.progress({
   title:'Wait',
   msg:'searching...'
}).dialog('dialog').css('z-index', 9999999);
next code #1;
next code #2;
next code #3;

why the messeger show after 'next code #3' executed, not first instead?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!