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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:05:11+00:00 2026-06-15T00:05:11+00:00

I have created several reusable ExtJS components, similar to the following: MyCustomGridPanel = Ext.extend(Ext.form.GridPanel,

  • 0

I have created several reusable ExtJS components, similar to the following:

MyCustomGridPanel = Ext.extend(Ext.form.GridPanel, {
    constructor: function(config) {
        config = Ext.apply({
            // some other default options
        }, config);

        MyCustomFormPanel.superclass.constructor.call(this, config);
    }
});

I am then able to include this custom grid panel in pages where I need it. In some cases I will have this same grid panel on a page multiple times.

The problem that I’m trying to solve is that I have form panels that I would like to automatically update any grid panel that contains data related to the form panel refreshed automatically.

In the case of a single grid panel on the page, upon the successful submission of a form panel I am able to call Ext.getCmp('the_id_of_the_grid_panel').getStore().reload(). But with multiple instances of these grid panels, I’d like do something similar but without using an ID since an ID has to be unique. I’d like to get an array of all grid panels on the page with an identifier of some sort and call <item>.getStore().reload().

My Google search and Stack Overflow search abilities have failed me and I can’t seem to find anything to get me what I’m looking for.

  • 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-15T00:05:17+00:00Added an answer on June 15, 2026 at 12:05 am

    We have to do something similar on our project. We need grids to communicate with each other. When data is updated in one it may require another grid to update itself. We do this by using the mediator pattern within our extjs application. We register our grid that’s being edited as a sender of a certain event in this case the edit event. Then when a new row is added the mediator send a message and any other grids that are listening for that event (the edit event) receive the message/event and refresh themselves.

    You can create a mediator anyway you wish. here’s a starting point:

    http://www.fancybread.com/blog/post.cfm/mediator-pattern-applied-to-javascript

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We currently have created several jobs for our components. These components all depend on
I have created several styles for font in my app. How can I add
I have created several DLL (.NET) libraries that are used in several projects. In
I have created several UI elements in the viewDidLoad method. I want to change
Our business deals with houses and over the years we have created several business
We have an ADP project created several years ago using Access 2000. This project
I have created a file argument.pl which takes several arguments first of which should
I have created login page forced login in several pages. Now i need to
I have dynamically created WrapPanel (_wp) with several Borders. And I need create handler
I have a listview that contain several EditTexts created dynamically according to the number

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.