EasyUI Forum
September 16, 2025, 08:18:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Special lightbox  (Read 11738 times)
yamilbracho
Jr. Member
**
Posts: 64


View Profile Email
« on: July 28, 2015, 08:44:37 AM »

Hi
I know we can use $.messager.progress to show a message while a lengthy ajax call is made but I would like to use the
little dialog EasyUI uses in grids as it shown in the attached picture.
Is there a easyu way to use thsi feature ?

TIA,
yamil

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: July 28, 2015, 07:28:19 PM »

Please refer to http://www.jeasyui.com/forum/index.php?topic=3641.0
Logged
yamilbracho
Jr. Member
**
Posts: 64


View Profile Email
« Reply #2 on: July 29, 2015, 01:28:41 PM »

Thanks!!!
Logged
yamilbracho
Jr. Member
**
Posts: 64


View Profile Email
« Reply #3 on: July 29, 2015, 02:10:56 PM »

I  am trying to use this code but i am having problems:

1) Do I need to define a div for this, say
Code:
<div id='dlg' class="easyui-dialog" data-options='collapsed:true, closed:true'></div>
I have to add closed:true because when i run my form it was shown on the screen...

And to call I use
Code:
$('#dlg').dialog('showMask', 'Actualizando...');

But nothing is shown... I also add 'open' and it show a small dialog and above it the message :
Code:
            $('#dlg').dialog('open');
            $('#dlg').dialog('showMask', 'Actualizando...');

What i am doing wrong ?

TIA;
Yamil
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #4 on: July 29, 2015, 04:34:31 PM »

The 'mask' layer stays on the window. It works only when the window is opened.
Logged
yamilbracho
Jr. Member
**
Posts: 64


View Profile Email
« Reply #5 on: July 30, 2015, 07:02:58 AM »

Thanks!!
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!