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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:24:24+00:00 2026-06-12T08:24:24+00:00

I have multiple stores (JSON) used in different places in my code. One use

  • 0

I have multiple stores (JSON) used in different places in my code. One use is to aggregate these into one new store (wich has already have their owns datas), depending on some conditions.

For example, I have two store : one with position_id, position_name and other containing role_id, role_name.
Now there’s an another store partially initialized and I want to use two precedents stores to complete it.

Ex: StoreRoles : role_id, role_value
StorePositions : position_id, position_value
StoreLineup : lineup_id, participant, role_id, role_value, position_id, position_value

And when StoreLineup is being created, I want to role_value and position_value take values depending on theirs ids.

That works, but not always.
In fact StoreRoles and StorePositions are not always ready when ExtJS passed to StoreLineup initialization’s. Finally, datas are not always set and I get some JavaScript errors on this point (because I use get() on an in existing element).

So I would like to delay initialization of StoreLineup.
While two others stores are not loaded, StoreLineup must be not too. It must be created after complete creation of others stores.

But how to do it ?
I didn’t find any working solutions (using load event etc).
Goal is to render complete StoreLineup in a GridPanel.

I use ExtJS 3.4

  • 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-12T08:24:25+00:00Added an answer on June 12, 2026 at 8:24 am

    This is much easier in 4.x using the store’s isLoading method like this.

    But for 3.4 you can accomplish it using load listeners.

    Attach a load listener on all of the stores that you want loaded before creating your grid panel.

    In listener do the following:

    1. Put the loaded store into an array, you can attach the array to the grid’s parent container so that it doesn’t have global scope. E.g. myGridPanelsContainer.loadedStoresArray or something.

    2. Check if all needed stores are now inside the myGridPanelsContainer.loadedStoresArray

    3. If they are then create the grid.

    4. If not then do nothing.

    When the last store loads the load listener will create the grid.

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

Sidebar

Related Questions

I have multiple classes that will store similar data for different uses and I
I love NHibernate's ability to have one table to store multiple types based on
My goal is to have multiple mp4's stores in different folders on a server.
I want to build an e-store with oscommerce where multiple stores(good sellers I have
Regarding using multiple stores, with different root categories: I have 2 stores set up,
I want to know whether it is possible to have multiple stores under 1
I have a requirement to store the list of services for multiple computers. I
I want to filter and search through Json using multiple keywords. I have it
I'm using core data on an iPhone application. I have multiple persisntent stores that
I have thousands of text files containing multiple JSON objects, but unfortunately there is

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.