View Full Version : [Grid] Loading text appears at the top left corner

28 Mar 2011, 5:34 AM
Hi all!

Is there a way to make the loading text appear in the center of the grid? the loading text appears fine if I load the grid manually, but if the grid loads the data after it renders itself, the loading text appears at the top left corner.

I'm using ExtJS 3.3.1

Thanks in advance :)

28 Mar 2011, 1:03 PM
you need to load the store after the grid render completed.

for example, I usually load store on the event 'afterrender', and try with defer:

this.store.load(10, this);

14 Apr 2011, 1:06 PM
Thanks! I did what you described and it works. The only thing I've noticed is that I must use a high value for the "delay" option of the listener. If not, it still renders the "loading text" on the top left corner. I don't know what "defer" is, so I'm gonna investigate a little about that.

Thanks a lot for your advice :)