Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6921961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:20:38+00:00 2026-05-27T10:20:38+00:00

in ExtJS 3.x grid panels that used a remote datastore and paging bars had

  • 0

in ExtJS 3.x grid panels that used a remote datastore and paging bars had a reload button that would change to a spinner animation while reloading data from the store. However in ExtJS4 the reload button now does not seem to do that, in either sencha.com’s examples or for my own application’s grids. Was this functionality removed, or does it have to be enabled somehow?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:20:39+00:00Added an answer on May 27, 2026 at 10:20 am

    Rewrote my fix as a grid panel plugin to make it a bit cleaner and more modular:

    Ext.define('Cls.grid.plugin.PagingRefreshSpinner', {
        alias: 'plugin.pagingrefreshspinner',
        extend: 'Ext.AbstractPlugin',
        pluginId: 'pagingRefreshSpinner',
    
        init: function(grid) {
            var docked = grid.getDockedItems('pagingtoolbar'),
                btns = [],
                setIcon = function(buttons, cls)
                {
                    Ext.each(buttons, function(b){
                        if(Ext.isFunction(b.setIconCls)) b.setIconCls(cls);
                    });
                };
    
            Ext.each(docked, function(cmp) {
                var btn = cmp.getComponent('refresh');
                if(btn) btns.push(btn);
            });
    
            if(btns.length < 1) return;
            grid.getStore().on('beforeload', function() {
                setIcon(btns, 'x-tbar-wait');
            });
            grid.getStore().on('load', function() {
                setIcon(btns, 'x-tbar-loading');
            });
        }
    });
    

    In your grid config just add {ptype: 'pagingrefreshspinner'} to its plugins array. And just like i mentioned in my previous answer, dont’ forget to add this rule to your CSS:

    .x-reset .x-tbar-wait { 
        background-image: url(ext4_dir/resources/themes/images/gray/grid/loading.gif);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ExtJs and trying to change look of the default scroll-bars (for Grid
So I have a ExtJs 4 Grid Panel that has two columns. Column ONE
I have a GridPanel that is backed by a DataStore (ExtJS 4). OK, so
In ExtJS 3.x the Grid Panel component had bindable events for cells including cellclick
I have the following extjs code that createa 2 tabs and a grid. How
i m working with extjs designer 1.2. I have a button on panel that
I'm trying to make data grid with paging using ExtJs framework, but unfortunately my
How i can create ExtJs grid panel with checkboxes like here .
I have an ExtJS grid on a web page and I'd like to save
I'm trying to create a dynamic grid using ExtJS. The grid is built and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.