EasyUI Forum
October 19, 2025, 05:01:55 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: show datagrid loading on endEdit  (Read 12923 times)
contestant
Newbie
*
Posts: 40


View Profile Email
« on: March 12, 2015, 02:14:19 AM »

Hello

I want to show datagrid loading progressbar on endEdit or show a simple loading like it and overlay on page, But I can't find this solution, Please help me.

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


View Profile Email
« Reply #1 on: March 12, 2015, 02:23:48 AM »

You can call $.messager.progress to display the progress window over the whole page.
Code:
var win = $.messager.progress({
    title:'Please waiting',
    msg:'Loading data...'
});
Logged
contestant
Newbie
*
Posts: 40


View Profile Email
« Reply #2 on: March 12, 2015, 09:36:03 AM »

Thanks, But I knew that before...

This modal message box has a progressive bar that I cant access to it to hide or change steps and etc...

Or show just a animated loader icon with text, like same datagrid loading box.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: March 13, 2015, 01:28:02 AM »

Call $.messager.progress('bar') to get the progressbar object, you can change steps on it. If you don't need the progress bar, hide it. The code below shows how to display a simple loading window by using $.messager.progress.
Code:
var win = $.messager.progress({
title:'Please waiting',
msg:'<img src="../../themes/default/images/Loading.gif"/> Loading data...'
});
$.messager.progress('bar').hide();
win.window('resize');
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!