View Full Version : How to disable refresh button on grid panel

27 May 2010, 1:53 AM
I have added a refresh button my grid panel using one of the config options : 'tools' .

below is the code snippet.

qtip:'Reload this data',
handler: function(e, target, panel){ // function to handle refresh}


Now I want to know how can I disable this button during refresh is happening since I want to restrict the user not to press again the refresh button again during data is reloading.

Please suggest how can I handle this.

thnx advance,

4 Jun 2010, 6:01 AM
Sandeep, you need to post in the correct forum. Moving to extjs 3.0 help.

4 Jun 2010, 7:56 AM
Give the button an id so that you can find it through the panel in order to disable it.