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 8310207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:22:42+00:00 2026-06-08T19:22:42+00:00

i am having extjs GridPanel when i load store: I do Ext.getBody().mask(); Grid ‘afterrender’

  • 0

i am having extjs GridPanel

when i load store:

I do Ext.getBody().mask();

Grid 'afterrender' event fires first

Store 'load' event fires second

I attached unmask function to  store load 'event'

but there are few moments after that event,
when i see white grid (between unmask and rows populating).

what is the proper way to unmask on real full afterrender event?
i mean – when all rows are rendered.

Thanks

  • 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-06-08T19:22:44+00:00Added an answer on June 8, 2026 at 7:22 pm

    I was going to suggest the gridview’s loadMask config as covered here in the docs. But I noticed that it wasn’t working for me for some reason.

    If it doesn’t work for you either, just use the gridview’s refresh event as covered here. It will only fire after the data is fully loaded into the grid. You can attach it through your gridpanel’s viewConfig config like so:

    Ext.create('Ext.grid.Panel', {
        title: 'My Grid Panel',
        // ... other grid panel configs
        viewConfig: {
            listeners: {
                refresh: function(gridview) {
                    console.log(gridview);
                    console.log('is fully loaded');
                }
            }
        },
    });
    

    Or if you are using MVC app architecture:

    Ext.define('MyApp.controller.MyController', {
        extend: 'Ext.app.Controller',
    
        models: ['MyModel'],
    
        stores: ['MyStore'],
    
        views:  ['MyGridPanel'],
    
        init: function() {
            var me = this;
    
            me.control({
    
                // ... other event handlers
    
                'mygridpanel > gridview': {
    
                    refresh: function(gridview) {
                        console.log(gridview);
                        console.log('is fully loaded');
                    }
    
                },
            });
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble when I try to create a new object in ExtJS. First
I have a grid in ExtJS where I am looping store items. I'd like
im having a hard time learning ExtJS. inspite of the fact that almost everywhere
I am having trouble with a simple table layout in ExtJs 4.0. I have
I'm having trouble loading image data into a draggable window using EXT JS. The
I'm working with extjs 2.2.1, having a bit of a trouble adding a button
I am having a problem running a Ext GWT 3.0 with GWT (version 2.4).
I'm using ExtJS 4.0.7, am new to Ext, and am using the new MVC
im pretty new to extjs and having trouble with it i am using the
I'm using EXTJS with Node.JS and am having difficulty with handling events in the

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.