PDA

View Full Version : Pop up a box while store is loading?



Baron89
31 Oct 2012, 1:58 AM
Hi all,how to pop up a box like the pic below while i use 'store.load();' to load data to a grid ? I know Store doesnt have the property 'waitMsg',so is there any other way to get this pop up window? 39717

willigogs
31 Oct 2012, 3:19 AM
Either use loadMask:true on your grids, or manually add and remove the masks using the .mask() and .unmask() functions.

http://docs.sencha.com/ext-js/3-4/#!/api/Ext.Element-method-mask

Baron89
31 Oct 2012, 5:36 PM
Hi buddy,thx for the reply,loadMask is the correct answser;)