PDA

View Full Version : Display loadMask to grid while loading data



extjser12
29 May 2012, 2:32 AM
Hello together

How can I set a loadMask to my grid when I call the the load method of the store?

I'm using Ext JS 4.1

Thanks for your help and kind regards
shub

SabaSarwat
29 May 2012, 3:06 AM
The answer is given here:
(http://docs.sencha.com/ext-js/4-1/#!/api/Ext.grid.Panel-method-setLoading)http://docs.sencha.com/ext-js/4-1/#!/api/Ext.grid.Panel-method-setLoading
See in the comment section of the method setLoading().

Regards!

fschaeffer
29 May 2012, 3:10 AM
the load mask should be displayed by default for a grid, but there is a bug in Ext 4.1.0 which prevents the loadsMask. There is a fix available, try searching the forum or wait for 4.1.1.

In 4.1.1.RC1 it is already fixed