Results 1 to 7 of 7

Thread: How to stop TreeStore autoload?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Vote Rating

    Default Answered: How to stop TreeStore autoload?

    I have a tree with a store
    Whenever the store is created the data is autoloaded. The parameter autoLoad: false.

    Ext.define('MyStore', {
    extend: '',
    fields: ['id', 'text'],
    autoLoad: false,
    proxy: {
    type: 'ajax',
    url: 'some.url'
    root: {
    expanded: true

    I need to pass some parameters into url prior loading and I know the parameters only after everything is rendered, so how can I stop the autoloading?

  2. Quote Originally Posted by lucasguaru View Post
    Try it with children and autoLoad : false
    root: {
        children : []
    This one works, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts