Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    33
    Answers
    1
    Vote Rating
    1
    psewt is on a distinguished road

      0  

    Default Answered: How to stop TreeStore autoload?

    Answered: How to stop TreeStore autoload?


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

    Ext.define('MyStore', {
    extend: 'Ext.data.TreeStore',
    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
    Code:
    root: {
        children : []
    }
    This one works, thanks.