简体   繁体   中英

How can i remove the loading-animation from a Ext.grid.Panel

Like the title says, how can i remove the spinwheel from a Panel?

I tried the property "loadMask" or "loadingMask" which seems to work for older versions and also the setLoading() method...

Edit: 'maskOnDisable' also doesn't work by the way.

You can use the setLoading method to hide the loading mask. For example:

gridPanel.setLoading(false,false);

You can read the details of this method at Ext.grid.Panel documentation . In ExtJS 4, the loading mask is created and displayed by the Ext.ComponentLoader .

On Extjs4 you can use

viewConfig: {loadMask:false}

I hope this works for you, but if you are using pagination I recommend that you don't hide the mask.

Sam.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM