EasyUI Forum
April 29, 2024, 01:00:16 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: Introduce Loading Message into propertygrid?  (Read 3360 times)
Don_Juan
Newbie
*
Posts: 20


View Profile
« on: October 11, 2017, 02:15:37 AM »

Hi,
i try to insert into a propertygrid a message of loading. It's possible?
I try to insert this method, but the message don't appear.

Code:
$('#modify').linkbutton({
    iconCls: 'icon-save',
    disabled: false,
    plain: false,
    onClick: function () {
        $.messager.confirm("Are you sure?",'Are you sure?',function(r){
            if (r){
                $('#details').propertygrid('loading');
                ....
                $('#details').propertygrid('loaded');
            }
        });
    }
});        
Thanks
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: October 11, 2017, 06:37:38 AM »

You display the loading message and hide it immediately. So you can't see the message.
Logged
Don_Juan
Newbie
*
Posts: 20


View Profile
« Reply #2 on: October 12, 2017, 12:23:15 AM »

I try to delete the method Loaded, but the message don't appear. Without, the load message should always be exposed, but that is not the case.
When I use this to load the main table, even though the time is short, it still appears to disappear.
Can the point of code where I have entered this method can be wrong?
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!