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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:10:00+00:00 2026-06-07T13:10:00+00:00

I have a proxy defined on my Model. I have a store defined pointing

  • 0

I have a proxy defined on my Model.

I have a store defined pointing to the Model, no proxy, as I want it to use the one defined on the Model.

store.autoLoad: true ain’t working

I have to explicitly call from my Controller

var store = this.getMyStore();
store.load();

Is this expected behavior?

  1. isn’t this what autoload is for?
  2. will it only work when the proxy is defined on the store?

Code:

model/MyThing.js

Ext.define('MyApp.model.MyThing', {

  extend: 'Ext.data.Model',

  fields: ['id', 'reference'],

  proxy:
  {
    type: 'ajax',
    url: 'MyThings'
  }
});

store/MyThings.js

Ext.define('MyApp.store.MyThings', {
  extend: 'Ext.data.Store',
  autoLoad: true,
  autoSync: false,
  model: 'MyApp.model.MyThing'
});
  • 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-07T13:10:02+00:00Added an answer on June 7, 2026 at 1:10 pm

    Actually, this is a bit of a newbie thing. I’ve been a bit of an eager beaver.

    I was looking at the store before it had completed loading (as its asynchronous).

    Best practice is to subscribe to the load() function’s callback and then do something…

    store.load({
        scope   : this,
        callback: function(records, operation, success) {
            //the operation object contains all of the details of the load operation
            console.log(records);
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a local HTTP proxy which I use to inject scripts into the
I have apache httpd that I want to proxy to two different tomcat servers.
I have some code that runs fine when I have a web proxy defined
I have a controller with a store, a model, and some views. I need
I have created a model and store in which read in a json file
So I have a parent and child store, illustrated here: Parent Model Ext.define('APP.model.Client', {
i have defined my proxy subclass using Ext.define and then referenced it in my
I have this WSO2 ESB proxy: <?xml version=1.0 encoding=UTF-8?> <proxy xmlns=http://ws.apache.org/ns/synapse name=sid008 transports=http startOnLoad=true
I have Ruby script that creates a proxy so that I can make HTTP
I have a method on a WCF proxy which returns void. If the return

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.