PDA

View Full Version : Loading spinner



adibhagra
12 Oct 2009, 2:15 AM
hey guys,

how do i display the loading spinner that comes up whenever we click on the links in the ExtJS website.i want the spinner to be displayed when i load my store into my grid and disappear on when my store is loaded.

thanks and regards,

ice

receptor
12 Oct 2009, 11:25 AM
add loadMask:true to your grid

jarlau
12 Oct 2009, 5:31 PM
similar to this post (http://www.extjs.com/forum/showthread.php?t=74151)?

adibhagra
12 Oct 2009, 8:08 PM
thanks guys

adibhagra
13 Oct 2009, 12:22 AM
thanks a lot once again,

how can i also display the spinner when an AJAX call is made, i understand that we have to give the statement:




Ext.Ajax.on('beforerequest', this.showSpinner, this);



but i don't know where to give this statement, if a put this statement before my Ext.Ajax.request nothing happens.

thanks and regards,

ice