EasyUI Forum
May 28, 2024, 11:09:46 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: When remote data retrieve fails, the loadmsg doesn't go away  (Read 8633 times)
Ellipsis
Full Member
***
Posts: 113


View Profile WWW
« on: December 05, 2012, 02:47:57 AM »

Is it possible to prevent a hanging loadMSG when retrieving data fails?

The datagrid uses the loader, I could detect the error and disable the loadMsg, is this the way to go?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 05, 2012, 06:30:07 PM »

The following features can be used according to the exactly requirements.

1. Setting 'loadMsg' property to null will hide the loading message box.
2. Call 'loading' method to display the loading message box and call 'loaded' to hide it.
3. Customize the loader and you can determine how to display or hide the message box.
Logged
Ellipsis
Full Member
***
Posts: 113


View Profile WWW
« Reply #2 on: December 06, 2012, 02:45:04 AM »

Ok Thanks

I"ll try some different solutions.
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!