EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Ellipsis on December 05, 2012, 02:47:57 AM



Title: When remote data retrieve fails, the loadmsg doesn't go away
Post by: Ellipsis 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?


Title: Re: When remote data retrieve fails, the loadmsg doesn't go away
Post by: stworthy 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.


Title: Re: When remote data retrieve fails, the loadmsg doesn't go away
Post by: Ellipsis on December 06, 2012, 02:45:04 AM
Ok Thanks

I"ll try some different solutions.