Results 1 to 3 of 3

Thread: How to disable refresh button on grid panel

  1. #1

    Default How to disable refresh button on grid panel

    hello,
    I have added a refresh button my grid panel using one of the config options : 'tools' .

    below is the code snippet.


    Code:
    tools:[{
           		id:'refresh',
    		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,
    sandeep

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    Sandeep, you need to post in the correct forum. Moving to extjs 3.0 help.

  3. #3
    Sencha User
    Join Date
    Jun 2009
    Location
    Colorado
    Posts
    51

    Default

    Give the button an id so that you can find it through the panel in order to disable it.

Similar Threads

  1. Disable the refresh button in PagingToolbar
    By kdhayanandan in forum Ext 2.x: Help & Discussion
    Replies: 18
    Last Post: 3 Aug 2012, 1:29 AM
  2. Disable Refresh-Button in Grid Ext.PagingToolbar
    By flashg0101 in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 25 Aug 2009, 12:53 PM
  3. Remove Grid Refresh Button?
    By froggman2k in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 18 Apr 2007, 11:27 AM
  4. Refresh button on paging grid
    By spatel in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 Mar 2007, 7:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •