View Full Version : How i disable autoSync in treePanel?

24 Jul 2013, 7:56 AM
When i open a node in a tree, that will be produce a ajax request. How i can disable every request?

Ext.define('AA.store.1-37-0.region.Tree', { extend : 'Ext.data.TreeStore',
alias : 'data.tree',
autoload: true,
waitMsg : 'Suche gestaret...',
setConfig: {
disableCaching: false
proxy: {
type: 'ajax',
url : 'ajax/getData.php' + getSessionName(),
noCache: false,
extraParams: {
DataType: 'region_region'
// ,
// all: Ext.getCmp('search.panel').getForm()
actionMethods: {
read: 'POST'
reader: {
type: 'xml',
root: 'nodes',
record: 'node'
root: {
text: 'Ext JS',
id: 'src',
expanded: false


Ext.define('AA.view.1-37-0.region.Tree', {
extend: 'Ext.tree.Panel',
alias: 'widget.region.tree',
rootVisible: false,
useArrows: true,
enableSort: false,
store: Ext.create('data.tree')

25 Jul 2013, 9:37 PM
Do you mean that after expanding a node it fetches the nodes from the server and then you collapse it and expand it again and on the second expand it's fetching the child nodes for that same parent node from the server a second time?